2017-04-11 14:39:17 +01:00
|
|
|
{ stdenv, fetchurl, buildPythonPackage }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "phonenumbers";
|
2017-06-19 12:43:19 +01:00
|
|
|
version = "8.5.1";
|
2017-05-27 10:25:35 +01:00
|
|
|
name = "${pname}-${version}";
|
2017-04-11 14:39:17 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python version of Google's common library for parsing, formatting, storing and validating international phone numbers";
|
|
|
|
homepage = "https://github.com/daviddrysdale/python-phonenumbers";
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ fadenb ];
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/p/phonenumbers/${name}.tar.gz";
|
2017-06-19 12:43:19 +01:00
|
|
|
sha256 = "b7d1a5832650fad633d1e4159873788ebfb15e053292c20ab9f5119a574f3a67";
|
2017-04-11 14:39:17 +01:00
|
|
|
};
|
|
|
|
}
|