diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-07-08 08:21:50 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-07-08 08:21:50 +0200 |
commit | c39ef3098051240a340b55b6091c7e6d1920f131 (patch) | |
tree | 20b70b72cceee8dc8c0734a38c9475a2e921802b /pkgs/development/python-modules/phonenumbers | |
parent | d3acbe8b46ade9e093fa232301de2f78cda6169c (diff) |
python3Packages.phonenumbers: 8.12.25 -> 8.12.26
Diffstat (limited to 'pkgs/development/python-modules/phonenumbers')
-rw-r--r-- | pkgs/development/python-modules/phonenumbers/default.nix | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/phonenumbers/default.nix b/pkgs/development/python-modules/phonenumbers/default.nix index a7ab39c7c1c9c..fa869c5d75d9d 100644 --- a/pkgs/development/python-modules/phonenumbers/default.nix +++ b/pkgs/development/python-modules/phonenumbers/default.nix @@ -1,18 +1,30 @@ -{ lib, buildPythonPackage, fetchPypi }: +{ lib +, buildPythonPackage +, fetchPypi +, pytestCheckHook +}: buildPythonPackage rec { pname = "phonenumbers"; - version = "8.12.25"; + version = "8.12.26"; src = fetchPypi { inherit pname version; - sha256 = "de4db4e2582f989a9cbae54364a647b24a72a7b0126be50d8356cf02217dc6c9"; + sha256 = "sha256-Zbq269vg7FGWx0YmlJdI21M30jiVqrwe+PXXKEeHmYo="; }; + checkInputs = [ + pytestCheckHook + ]; + + pytestFlagsArray = [ "tests/*.py" ]; + + pythonImportsCheck = [ "phonenumbers" ]; + meta = with lib; { - description = "Python version of Google's common library for parsing, formatting, storing and validating international phone numbers"; - homepage = "https://github.com/daviddrysdale/python-phonenumbers"; - license = licenses.asl20; + description = "Python module for handling international phone numbers"; + homepage = "https://github.com/daviddrysdale/python-phonenumbers"; + license = licenses.asl20; maintainers = with maintainers; [ fadenb ]; }; } |