nixpkgs/pkgs/development/python-modules/IPy/default.nix

25 lines
574 B
Nix
Raw Normal View History

2018-02-06 10:30:26 +00:00
{ stdenv, buildPythonPackage, fetchPypi, nose }:
buildPythonPackage rec {
pname = "IPy";
version = "1.00";
2018-02-06 10:30:26 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "08d6kcacj67mvh0b6y765ipccy6gi4w2ndd4v1l3im2qm1cgcarg";
2018-02-06 10:30:26 +00:00
};
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 ];
};
}