My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/phonenumbers/default.nix

35 lines
675 B

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "phonenumbers";
version = "8.12.48";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-rwaB+/6foHITdq2bcp53Ll0gvyz1DZ3Yyi8L3Xjp8M4=";
};
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 ];
};
}