Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, fetchPypi, buildPythonPackage }: 2 3buildPythonPackage rec { 4 pname = "phonenumbers"; 5 version = "8.8.2"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "0xwis5hvp2wmnzqxax8896vhyb3q2fs9l9ilvyr44jdh3342dxpx"; 11 }; 12 13 meta = { 14 description = "Python version of Google's common library for parsing, formatting, storing and validating international phone numbers"; 15 homepage = https://github.com/daviddrysdale/python-phonenumbers; 16 license = stdenv.lib.licenses.asl20; 17 maintainers = with stdenv.lib.maintainers; [ fadenb ]; 18 }; 19}