10 buildPythonPackage rec {
15 inherit pname version;
16 sha256 = "0hx2npi0wnhwlcybilgwlddw6qffx1mb7a3sj4p9s7bvl33mgk6n";
19 LC_ALL = "en_US.UTF-8";
21 propagatedBuildInputs = lib.optionals (pythonOlder "3.7") [ importlib-resources ];
23 nativeCheckInputs = [ glibcLocales pytestCheckHook ];
26 homepage = "https://netaddr.readthedocs.io/en/latest/";
27 downloadPage = "https://github.com/netaddr/netaddr/releases";
28 changelog = "https://netaddr.readthedocs.io/en/latest/changes.html";
29 description = "A network address manipulation library for Python";
30 license = licenses.mit;