Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchurl, buildPythonPackage, isPy3k }: 2 3buildPythonPackage rec { 4 version = "1.6"; 5 pname = "python-stdnum"; 6 name = "${pname}-${version}"; 7 # Failing tests and dependency issue on Py3k 8 disabled = isPy3k; 9 src = fetchurl { 10 url = "mirror://pypi/p/python-stdnum/${name}.tar.gz"; 11 sha256 = "157a0aef01b1e846ddd11252dc516637da6b3347e32f0130825b7fae1d8b4655"; 12 }; 13 meta = { 14 homepage = http://arthurdejong.org/python-stdnum/; 15 description = "Python module to handle standardized numbers and codes"; 16 maintainers = with lib.maintainers; [ johbo ]; 17 license = lib.licenses.lgpl2Plus; 18 }; 19}