Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
833 B · 39 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "phonenumbers"; version = "8.13.26"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-k31wrs6zF/WDHf7CjehVpgJg70qdVRlkvsjnp9DPgc0="; };
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "tests/*.py" ];
pythonImportsCheck = [ "phonenumbers" ];
meta = with lib; { description = "Python module for handling international phone numbers"; homepage = "https://github.com/daviddrysdale/python-phonenumbers"; changelog = "https://github.com/daviddrysdale/python-phonenumbers/blob/v${version}/python/HISTORY.md"; license = licenses.asl20; maintainers = with maintainers; [ fadenb ]; };}