depot/third_party/nixpkgs/pkgs/development/python-modules/ipy/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

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