Compare commits
3 Commits
fcd0dc1d75
...
3b8f90ed3a
Author | SHA1 | Date |
---|---|---|
Simon Bruder | 3b8f90ed3a | |
Simon Bruder | 7927b6939c | |
Simon Bruder | c5921e5c11 |
18
default.nix
18
default.nix
|
@ -4,16 +4,16 @@ let
|
||||||
|
|
||||||
callPythonPackage = prev.python3Packages.callPackage;
|
callPythonPackage = prev.python3Packages.callPackage;
|
||||||
in
|
in
|
||||||
{
|
rec {
|
||||||
python3 = prev.python3.override {
|
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ (prev.lib.singleton (final: prev: {
|
||||||
packageOverrides = final: prev:
|
enlighten = callPythonPackage ./python-modules/enlighten { };
|
||||||
{
|
|
||||||
enlighten = callPythonPackage ./python-modules/enlighten { };
|
|
||||||
|
|
||||||
prefixed = callPythonPackage ./python-modules/prefixed { };
|
netbox-inventory = callPythonPackage ./python-modules/netbox-inventory { };
|
||||||
};
|
|
||||||
};
|
netbox-topology-views = callPythonPackage ./python-modules/netbox-topology-views { };
|
||||||
python3Packages = prev.recurseIntoAttrs final.python3.pkgs;
|
|
||||||
|
prefixed = callPythonPackage ./python-modules/prefixed { };
|
||||||
|
}));
|
||||||
|
|
||||||
afancontrol = callPythonPackage ./afancontrol { };
|
afancontrol = callPythonPackage ./afancontrol { };
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
{ lib, buildPythonPackage, fetchPypi, setuptools }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "netbox-inventory";
|
||||||
|
version = "1.4.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "sha256-mdfK8FQ8srpLebwX2YEA/kdfDVU1xDbyYnq2gUqUcws=";
|
||||||
|
};
|
||||||
|
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ setuptools ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Manage your hardware inventory in NetBox";
|
||||||
|
homepage = "https://github.com/ArnesSI/netbox-inventory";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ sbruder ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ lib, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "netbox-topology-views";
|
||||||
|
version = "3.6.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "sha256-w10iz19235dMIj7VM7w2beaPyENuDXhKQ421vZ0QCcc=";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A netbox plugin that draws topology views";
|
||||||
|
homepage = "https://github.com/mattieserver/netbox-topology-views";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ sbruder ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue