3cbfd2b52c
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
35 lines
688 B
Nix
35 lines
688 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "phonenumbers";
|
|
version = "8.12.39";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0f7745e1f108654db347d885e814cbb5f225b8c5f5ce336024b193c79291ddaa";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|