python.pkgs.phonenumbers: use fetchPypi
This commit is contained in:
parent
61ea0eb88c
commit
ea491d4ea1
@ -1,19 +1,19 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage }:
|
||||
{ stdenv, fetchPypi, buildPythonPackage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "phonenumbers";
|
||||
version = "8.8.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0j8yzn7fva863v7vrjk0s1d63yswg8hf2hlpvfwzxk9absjyvmgq";
|
||||
};
|
||||
|
||||
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";
|
||||
sha256 = "0j8yzn7fva863v7vrjk0s1d63yswg8hf2hlpvfwzxk9absjyvmgq";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user