vscode-extensions.yoavbls.pretty-ts-errors: 0.5.4 -> 0.6.1 (#363464)
[NixPkgs.git] / pkgs / development / python-modules / phonenumbers / default.nix
blob17d232e97f7e162f3fabdecb2dfec01ce5b2bb12
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytestCheckHook,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "phonenumbers";
12   version = "8.13.46";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-lL8Yupclu2ho0pRzsT947wHiWFxctWHsAgC+dnbndFI=";
20   };
22   build-system = [ setuptools ];
24   nativeCheckInputs = [ pytestCheckHook ];
26   pytestFlagsArray = [ "tests/*.py" ];
28   pythonImportsCheck = [ "phonenumbers" ];
30   meta = with lib; {
31     description = "Python module for handling international phone numbers";
32     homepage = "https://github.com/daviddrysdale/python-phonenumbers";
33     changelog = "https://github.com/daviddrysdale/python-phonenumbers/blob/v${version}/python/HISTORY.md";
34     license = licenses.asl20;
35     maintainers = with maintainers; [ fadenb ];
36   };