blob: fd6b9ff7003c50d25c03287a5fcbf9c7263b195d (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "phonenumbers";
version = "8.13.55";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-V8mJ3aPqurG1qePSRDijnr0DL6AXK/aL/ZCrcLPV4Is=";
};
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 ];
};
}
|