1{ lib, buildPythonPackage, fetchPypi, nose }:
2
3buildPythonPackage rec {
4 pname = "IPy";
5 version = "1.01";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a";
10 };
11
12 nativeCheckInputs = [ nose ];
13
14 checkPhase = ''
15 nosetests -e fuzz
16 '';
17
18 meta = with 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}