1{ stdenv, buildPythonPackage, fetchPypi, nose }:
2
3buildPythonPackage rec {
4 pname = "IPy";
5 version = "0.83";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "61da5a532b159b387176f6eabf11946e7458b6df8fb8b91ff1d345ca7a6edab8";
10 };
11
12 checkInputs = [ nose ];
13
14 checkPhase = ''
15 nosetests -e fuzz
16 '';
17
18 meta = with stdenv.lib; {
19 description = "Class and tools for handling of IPv4 and IPv6 addresses and networks";
20 homepage = "https://github.com/autocracy/python-ipy";
21 license = licenses.bsdOriginal;
22 maintainers = with maintainers; [ y0no ];
23 };
24}