summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyroute2-ipdb/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pyroute2-ipdb/default.nix')
-rw-r--r--pkgs/development/python-modules/pyroute2-ipdb/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyroute2-ipdb/default.nix b/pkgs/development/python-modules/pyroute2-ipdb/default.nix
new file mode 100644
index 00000000000..733988f20f5
--- /dev/null
+++ b/pkgs/development/python-modules/pyroute2-ipdb/default.nix
@@ -0,0 +1,35 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pyroute2-core
+}:
+
+buildPythonPackage rec {
+  pname = "pyroute2-ipdb";
+  version = "0.6.1";
+
+  src = fetchPypi {
+    pname = "pyroute2.ipdb";
+    inherit version;
+    sha256 = "0wnzvy72pjipsdcfnwxpqp0jimg2l3w6gwd3r4b3mhvhackgsvs6";
+  };
+
+  propagatedBuildInputs = [
+    pyroute2-core
+  ];
+
+  # pyroute2 sub-modules have no tests
+  doCheck = false;
+
+  pythonImportsCheck = [
+    "pr2modules.ipdb"
+  ];
+
+  meta = with lib; {
+    description = "Ipdb module for pyroute2";
+    homepage = "https://github.com/svinota/pyroute2";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ fab ];
+    platforms = platforms.unix;
+  };
+}