Skip to content

Commit 5287b65

Browse files
fadenbfpletz
authored andcommittedJul 10, 2017
pythonPackages.phonenumbers: init at 8.4.0
(cherry picked from commit cf957fe)
1 parent d020878 commit 5287b65

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{ stdenv, fetchurl, buildPythonPackage }:
2+
3+
buildPythonPackage rec {
4+
name = "phonenumbers-8.4.0";
5+
6+
meta = {
7+
description = "Python version of Google's common library for parsing, formatting, storing and validating international phone numbers";
8+
homepage = "https://github.com/daviddrysdale/python-phonenumbers";
9+
license = stdenv.lib.licenses.asl20;
10+
maintainers = with stdenv.lib.maintainers; [ fadenb ];
11+
};
12+
13+
src = fetchurl {
14+
url = "mirror://pypi/p/phonenumbers/${name}.tar.gz";
15+
sha256 = "1c052gd7ra3v183jq2x5nwa428wxh1g3psfh0ay5jwwmcxy78vab";
16+
};
17+
}

‎pkgs/top-level/python-packages.nix

+2
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ in {
118118
};
119119
};
120120

121+
phonenumbers = callPackage ../development/python-modules/phonenumbers { };
122+
121123
agate-dbf = buildPythonPackage rec {
122124
name = "agate-dbf-0.1.0";
123125
disabled = isPy3k;

0 commit comments

Comments
 (0)