nixpkgs/pkgs/development/python-modules/phonenumbers/default.nix

20 lines
616 B
Nix
Raw Normal View History

{ stdenv, fetchPypi, buildPythonPackage }:
buildPythonPackage rec {
pname = "phonenumbers";
2018-06-12 18:47:04 +02:00
version = "8.9.7";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-06-12 18:47:04 +02:00
sha256 = "cd03748c15619ada0d03ac4a9e30b1b58f14b81ac641ea1c023636c25bd4cb3b";
};
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 ];
};
}