{ lib , buildPythonPackage , fetchPypi , pytestCheckHook }: buildPythonPackage rec { pname = "phonenumbers"; version = "8.12.36"; src = fetchPypi { inherit pname version; sha256 = "e29717fcf86d68082fc6e42ca07e52bff863b6e0b354edd1644ba15c35ef213d"; }; 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 ]; }; }