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