{ lib , buildPythonPackage , fetchPypi , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "phonenumbers"; version = "8.12.57"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-BX0ZZpYvuGs9xEe/rCyOJc7td0UJ5JsYCSahOpmRAxg="; }; 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 ]; }; }