about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyroute2-ndb
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-05-22 22:55:26 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2021-05-23 00:32:06 +0200
commitdb8f0958452fac36c9621ae8bdeecd9f9fb361d3 (patch)
treebc642d86bfe2571b8734ebdaa6b5564458e68642 /pkgs/development/python-modules/pyroute2-ndb
parent3212db058d568ce295ed60d173a402688a315e50 (diff)
python3Packages.pyroute2-ndb: init at 0.6.1
Diffstat (limited to 'pkgs/development/python-modules/pyroute2-ndb')
-rw-r--r--pkgs/development/python-modules/pyroute2-ndb/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyroute2-ndb/default.nix b/pkgs/development/python-modules/pyroute2-ndb/default.nix
new file mode 100644
index 0000000000000..7b34b3d341a3c
--- /dev/null
+++ b/pkgs/development/python-modules/pyroute2-ndb/default.nix
@@ -0,0 +1,33 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pyroute2-core
+}:
+
+buildPythonPackage rec {
+  pname = "pyroute2-ndb";
+  version = "0.6.1";
+
+  src = fetchPypi {
+    pname = "pyroute2.ndb";
+    inherit version;
+    sha256 = "0lzvh0vva8i86h00add0b45s4f5dn6zbgysfvmzrxxasvda7fhlj";
+  };
+
+  propagatedBuildInputs = [
+    pyroute2-core
+  ];
+
+  # pyroute2 sub-modules have no tests
+  doCheck = false;
+
+  pythonImportsCheck = [ "pr2modules.ndb" ];
+
+  meta = with lib; {
+    description = "NDB module for pyroute2";
+    homepage = "https://github.com/svinota/pyroute2";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ fab ];
+    platforms = platforms.unix;
+  };
+}