Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / phonenumbers / default.nix
blobb2bb4cbfd01d68aad83a47ed505274a42b472c4a
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "phonenumbers";
10   version = "8.13.31";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-J0IHHJ0K8JJ0yKWyom2aNqy/LqXLYpQ8ws6ttcDIdkE=";
18   };
20   nativeCheckInputs = [
21     pytestCheckHook
22   ];
24   pytestFlagsArray = [
25     "tests/*.py"
26   ];
28   pythonImportsCheck = [
29     "phonenumbers"
30   ];
32   meta = with lib; {
33     description = "Python module for handling international phone numbers";
34     homepage = "https://github.com/daviddrysdale/python-phonenumbers";
35     changelog = "https://github.com/daviddrysdale/python-phonenumbers/blob/v${version}/python/HISTORY.md";
36     license = licenses.asl20;
37     maintainers = with maintainers; [ fadenb ];
38   };