10 buildPythonPackage rec {
15 disabled = pythonOlder "3.7";
18 inherit pname version;
19 hash = "sha256-XDw9mJW1Ubdjd5un23oDSH3B+OOzha+BmvNBrp725Io=";
22 nativeBuildInputs = [ setuptools ];
24 nativeCheckInputs = [ pytestCheckHook ];
26 pythonImportsCheck = [ "netaddr" ];
29 description = "Network address manipulation library for Python";
30 mainProgram = "netaddr";
31 homepage = "https://netaddr.readthedocs.io/";
32 downloadPage = "https://github.com/netaddr/netaddr/releases";
33 changelog = "https://github.com/netaddr/netaddr/blob/${version}/CHANGELOG";
34 license = licenses.mit;
35 maintainers = with maintainers; [ fab ];