about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ipy/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/ipy/default.nix')
-rw-r--r--pkgs/development/python-modules/ipy/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ipy/default.nix b/pkgs/development/python-modules/ipy/default.nix
new file mode 100644
index 000000000000..8a2f64ce3638
--- /dev/null
+++ b/pkgs/development/python-modules/ipy/default.nix
@@ -0,0 +1,26 @@
+{ lib, buildPythonPackage, fetchPypi, nose }:
+
+buildPythonPackage rec {
+  pname = "ipy";
+  version = "1.01";
+  format = "setuptools";
+
+  src = fetchPypi {
+    pname = "IPy";
+    inherit version;
+    sha256 = "edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a";
+  };
+
+  nativeCheckInputs = [ nose ];
+
+  checkPhase = ''
+    nosetests -e fuzz
+  '';
+
+  meta = with lib; {
+    description = "Class and tools for handling of IPv4 and IPv6 addresses and networks";
+    homepage = "https://github.com/autocracy/python-ipy";
+    license = licenses.bsdOriginal;
+    maintainers = with maintainers; [ y0no ];
+  };
+}