2017-04-11 14:39:17 +01:00
|
|
|
{ stdenv, fetchurl, buildPythonPackage }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "phonenumbers";
|
2017-05-27 13:24:47 +01:00
|
|
|
version = "8.5.0";
|
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-05-27 13:24:47 +01:00
|
|
|
sha256 = "6d3d82a3dcb0418431099d1b1c24efb280cbec8f81c7ce3d1abf417c238b8859";
|
2017-04-11 14:39:17 +01:00
|
|
|
};
|
|
|
|
}
|