3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/phonenumbers/default.nix
2021-07-31 22:20:12 +02:00

31 lines
639 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "phonenumbers";
version = "8.12.28";
src = fetchPypi {
inherit pname version;
sha256 = "1g86bf791lr9ggrfgllah9liwa3bx917h9ffrdb01kjwdna4zsj2";
};
checkInputs = [
pytestCheckHook
];
pytestFlagsArray = [ "tests/*.py" ];
pythonImportsCheck = [ "phonenumbers" ];
meta = with lib; {
description = "Python module for handling international phone numbers";
homepage = "https://github.com/daviddrysdale/python-phonenumbers";
license = licenses.asl20;
maintainers = with maintainers; [ fadenb ];
};
}