depot/third_party/nixpkgs/pkgs/development/python-modules/ipy/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

31 lines
629 B
Nix

{
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 ];
};
}