summary refs log tree commit diff
path: root/pkgs/development/python-modules/IPy/default.nix
blob: eacfe8dda5bcf1e838dd326513ba722fe753e4b4 (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
{ 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 ];
  };
}