summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authory0no <yoann.onoditbiot@synhack.fr>2018-02-06 11:30:26 +0100
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-03-19 11:40:16 +0100
commitc9bbf071bdb79270b0028885dcea3783d99b611b (patch)
tree970f61f13dfe5d44828b1262e585a8ea12e5427d /pkgs/development/python-modules
parent67f2d3e2bd58761aa8e90b41e47c092de0fadefb (diff)
downloadnixlib-c9bbf071bdb79270b0028885dcea3783d99b611b.tar
nixlib-c9bbf071bdb79270b0028885dcea3783d99b611b.tar.gz
nixlib-c9bbf071bdb79270b0028885dcea3783d99b611b.tar.bz2
nixlib-c9bbf071bdb79270b0028885dcea3783d99b611b.tar.lz
nixlib-c9bbf071bdb79270b0028885dcea3783d99b611b.tar.xz
nixlib-c9bbf071bdb79270b0028885dcea3783d99b611b.tar.zst
nixlib-c9bbf071bdb79270b0028885dcea3783d99b611b.zip
pythonPackages.ipy: 0.74 -> 0.83
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/IPy/default.nix24
1 files changed, 24 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..eacfe8dda5bc
--- /dev/null
+++ b/pkgs/development/python-modules/IPy/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, buildPythonPackage, fetchPypi, nose }:
+
+buildPythonPackage rec {
+  pname = "IPy";
+  version = "0.83";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "61da5a532b159b387176f6eabf11946e7458b6df8fb8b91ff1d345ca7a6edab8";
+  };
+
+  checkInputs = [ nose ];
+
+  checkPhase = ''
+    nosetests -e fuzz
+  '';
+
+  meta = with stdenv.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 ];
+  };
+}