mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 05:43:17 +00:00
25 lines
586 B
Nix
25 lines
586 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, nose }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "IPy";
|
|
version = "1.01";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|