biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / netaddr / default.nix
blob8d04bc106b0757989e22c6b55f11512fd99f5ff9
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   setuptools,
7   pytestCheckHook,
8 }:
10 buildPythonPackage rec {
11   pname = "netaddr";
12   version = "1.3.0";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-XDw9mJW1Ubdjd5un23oDSH3B+OOzha+BmvNBrp725Io=";
20   };
22   nativeBuildInputs = [ setuptools ];
24   nativeCheckInputs = [ pytestCheckHook ];
26   pythonImportsCheck = [ "netaddr" ];
28   meta = with lib; {
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 ];
36   };