58849dfc4f
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
30 lines
638 B
Nix
30 lines
638 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "phonenumbers";
|
|
version = "8.12.31";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-CR7SsxWFZ/EsmfcZVwocys4AF585tE8ea4lfWdk9rcg=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|