{ lib , buildPythonPackage , fetchPypi , pytestCheckHook }: buildPythonPackage rec { pname = "phonenumbers"; version = "8.12.40"; format = "setuptools"; src = fetchPypi { inherit pname version; sha256 = "00f2955a456b458f9b6ab0d24329049c3e7358c44dfc1979fe4908ced40f1eb8"; }; 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 ]; }; }