f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
32 lines
667 B
Nix
32 lines
667 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ipy";
|
|
version = "1.01";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "IPy";
|
|
inherit version;
|
|
hash = "sha256-7eynQd6i1UrKVo+iN0AojD/obA8+pwA0RXHp7xSnzBo=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonImportsCheck = [ "IPy" ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
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 ];
|
|
};
|
|
}
|