git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.phonenumbers: init at 8.4.0
commitcf957fedea1660f30a3f8d9156e3f5de712cb3eb authorTristan Helmich <tristan.helmich@gmail.com> dateTue 11 Apr 2017, 15:39 (10 years ago) parent048114e
2 files changed+19
pkgs/development/python-modules/phonenumbers/default.nix+17 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/phonenumbers/default.nixnew file+17
@@ -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
@@ -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;