Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
863 B · 37 lines
Nix
at flake-libs
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "phonenumbers"; version = "9.0.2"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-9ZDuK3Kb3Zhzyi1SmJRmrdFMmVO0iAXArrQINI1NYiQ="; };
build-system = [ setuptools ];
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 ]; };}