forked from mirrors/nixpkgs
31 lines
639 B
Nix
31 lines
639 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "phonenumbers";
|
|
version = "8.12.29";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "12h9l9kgviqvy7asax23ci12bwflpsf8c51ia7wg2k7dd56nlfcs";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|