fix(patches): removed upstream patches
All checks were successful
Check meta / check_dns (pull_request) Successful in 15s
Check workflows / check_workflows (pull_request) Successful in 16s
Check meta / check_meta (pull_request) Successful in 19s
Build all the nodes / netcore02 (pull_request) Successful in 19s
Run pre-commit on all files / pre-commit (push) Successful in 39s
Build all the nodes / netaccess01 (pull_request) Successful in 39s
Build all the nodes / netcore01 (pull_request) Successful in 38s
Build all the nodes / ap01 (pull_request) Successful in 46s
Build all the nodes / rescue01 (pull_request) Successful in 4m35s
Build all the nodes / hypervisor01 (pull_request) Successful in 5m19s
Build all the nodes / bridge01 (pull_request) Successful in 5m22s
Build all the nodes / hypervisor03 (pull_request) Successful in 5m22s
Build all the nodes / web01 (pull_request) Successful in 4m42s
Build all the nodes / geo01 (pull_request) Successful in 5m22s
Build all the nodes / tower01 (pull_request) Successful in 4m49s
Build all the nodes / web02 (pull_request) Successful in 4m36s
Build the shell / build-shell (pull_request) Successful in 22s
Run pre-commit on all files / pre-commit (pull_request) Successful in 25s
Build all the nodes / compute01 (pull_request) Successful in 6m24s
Build all the nodes / web03 (pull_request) Successful in 3m0s
Build all the nodes / geo02 (pull_request) Successful in 18m9s
Build all the nodes / hypervisor02 (pull_request) Successful in 18m11s
Build all the nodes / vault01 (pull_request) Successful in 17m49s
Build all the nodes / storage01 (pull_request) Successful in 20m3s
Build all the nodes / build01 (pull_request) Successful in 1m55s
All checks were successful
Check meta / check_dns (pull_request) Successful in 15s
Check workflows / check_workflows (pull_request) Successful in 16s
Check meta / check_meta (pull_request) Successful in 19s
Build all the nodes / netcore02 (pull_request) Successful in 19s
Run pre-commit on all files / pre-commit (push) Successful in 39s
Build all the nodes / netaccess01 (pull_request) Successful in 39s
Build all the nodes / netcore01 (pull_request) Successful in 38s
Build all the nodes / ap01 (pull_request) Successful in 46s
Build all the nodes / rescue01 (pull_request) Successful in 4m35s
Build all the nodes / hypervisor01 (pull_request) Successful in 5m19s
Build all the nodes / bridge01 (pull_request) Successful in 5m22s
Build all the nodes / hypervisor03 (pull_request) Successful in 5m22s
Build all the nodes / web01 (pull_request) Successful in 4m42s
Build all the nodes / geo01 (pull_request) Successful in 5m22s
Build all the nodes / tower01 (pull_request) Successful in 4m49s
Build all the nodes / web02 (pull_request) Successful in 4m36s
Build the shell / build-shell (pull_request) Successful in 22s
Run pre-commit on all files / pre-commit (pull_request) Successful in 25s
Build all the nodes / compute01 (pull_request) Successful in 6m24s
Build all the nodes / web03 (pull_request) Successful in 3m0s
Build all the nodes / geo02 (pull_request) Successful in 18m9s
Build all the nodes / hypervisor02 (pull_request) Successful in 18m11s
Build all the nodes / vault01 (pull_request) Successful in 17m49s
Build all the nodes / storage01 (pull_request) Successful in 20m3s
Build all the nodes / build01 (pull_request) Successful in 1m55s
This commit is contained in:
parent
bf900be306
commit
b39ca8b72a
2 changed files with 0 additions and 76 deletions
|
@ -22,12 +22,6 @@ in
|
|||
# Crabfit: don't depend on all google-fonts
|
||||
(local ./nixpkgs/03-crabfit-karla.patch)
|
||||
|
||||
# netbox qrcode plugin
|
||||
(local ./nixpkgs/06-netbox-qrcode.patch)
|
||||
|
||||
# Fix pretix tests
|
||||
(npr 374822 "sha256-vM6l8Pb6F5HoZrpG4Ay3DdwwHBbv8MQy2Bo4gfiQ5zM=")
|
||||
|
||||
# pretalx env file option
|
||||
(local ./nixpkgs/01-pretalx-environment-file.patch)
|
||||
|
||||
|
|
|
@ -1,70 +0,0 @@
|
|||
diff --git a/pkgs/development/python-modules/netbox-qrcode/default.nix b/pkgs/development/python-modules/netbox-qrcode/default.nix
|
||||
new file mode 100644
|
||||
index 000000000000..b378b839a8dc
|
||||
--- /dev/null
|
||||
+++ b/pkgs/development/python-modules/netbox-qrcode/default.nix
|
||||
@@ -0,0 +1,51 @@
|
||||
+{ lib
|
||||
+, buildPythonPackage
|
||||
+, fetchFromGitHub
|
||||
+, setuptools
|
||||
+, wheel
|
||||
+, pillow
|
||||
+, qrcode
|
||||
+, netbox
|
||||
+}:
|
||||
+
|
||||
+buildPythonPackage rec {
|
||||
+ pname = "netbox-qrcode";
|
||||
+ version = "0.0.13";
|
||||
+ pyproject = true;
|
||||
+
|
||||
+ src = fetchFromGitHub {
|
||||
+ owner = "netbox-community";
|
||||
+ repo = "netbox-qrcode";
|
||||
+ rev = "v${version}";
|
||||
+ hash = "sha256-/labSZyB1SkU/uemuL946RDk8IVEAgCYJY2vrJFney0=";
|
||||
+ };
|
||||
+
|
||||
+ nativeBuildInputs = [
|
||||
+ setuptools
|
||||
+ wheel
|
||||
+ ];
|
||||
+
|
||||
+ propagatedBuildInputs = [
|
||||
+ qrcode
|
||||
+ pillow
|
||||
+ ];
|
||||
+
|
||||
+ checkInputs = [
|
||||
+ netbox
|
||||
+ ];
|
||||
+
|
||||
+ preFixup = ''
|
||||
+ export PYTHONPATH=${netbox}/opt/netbox/netbox:$PYTHONPATH
|
||||
+ '';
|
||||
+
|
||||
+ pythonImportsCheck = [
|
||||
+ "netbox_qrcode"
|
||||
+ ];
|
||||
+
|
||||
+ meta = with lib; {
|
||||
+ description = "NetBox Plugin for generate QR Codes";
|
||||
+ homepage = "https://github.com/netbox-community/netbox-qrcode";
|
||||
+ license = licenses.asl20;
|
||||
+ maintainers = with maintainers; [ sinavir ];
|
||||
+ };
|
||||
+}
|
||||
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
|
||||
index 9999d745e3ac..b226e0063672 100644
|
||||
--- a/pkgs/top-level/python-packages.nix
|
||||
+++ b/pkgs/top-level/python-packages.nix
|
||||
@@ -8989,6 +8989,8 @@ self: super: with self; {
|
||||
|
||||
netbox-reorder-rack = callPackage ../development/python-modules/netbox-reorder-rack { };
|
||||
|
||||
+ netbox-qrcode = callPackage ../development/python-modules/netbox-qrcode { };
|
||||
+
|
||||
netcdf4 = callPackage ../development/python-modules/netcdf4 { };
|
||||
|
||||
netdata = callPackage ../development/python-modules/netdata { };
|
Loading…
Add table
Reference in a new issue