git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #129545 from fabaff/bump-phonenumbers

python3Packages.phonenumbers: 8.12.25 -> 8.12.26

commit44188d64727f056e1596b89019cda5b92eb0b368 authorFabian Affolter <fabian@affolter-engineering.ch> dateThu 8 Jul 2021, 09:34 (5 years ago) parent09648a0c39ef30
1 file changed+18−6
pkgs/development/python-modules/phonenumbers/default.nix+18−6
pkgs/development/python-modules/phonenumbers/default.nix+18−6
@@ -1,18 +1,30 @@
1−{ lib, buildPythonPackage, fetchPypi }:
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, pytestCheckHook
5+}:
26
37buildPythonPackage rec {
48 pname = "phonenumbers";
5− version = "8.12.25";
9+ version = "8.12.26";
610
711 src = fetchPypi {
812 inherit pname version;
9− sha256 = "de4db4e2582f989a9cbae54364a647b24a72a7b0126be50d8356cf02217dc6c9";
13+ sha256 = "sha256-Zbq269vg7FGWx0YmlJdI21M30jiVqrwe+PXXKEeHmYo=";
1014 };
1115
16+ checkInputs = [
17+ pytestCheckHook
18+ ];
19+
20+ pytestFlagsArray = [ "tests/*.py" ];
21+
22+ pythonImportsCheck = [ "phonenumbers" ];
23+
1224 meta = with lib; {
13− description = "Python version of Google's common library for parsing, formatting, storing and validating international phone numbers";
14− homepage = "https://github.com/daviddrysdale/python-phonenumbers";
15− license = licenses.asl20;
25+ description = "Python module for handling international phone numbers";
26+ homepage = "https://github.com/daviddrysdale/python-phonenumbers";
27+ license = licenses.asl20;
1628 maintainers = with maintainers; [ fadenb ];
1729 };
1830}