about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ipy/default.nix
blob: 7db51ef648b17e60139959065b6b1488f61e7f4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  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 ];
  };
}