1{ lib, fetchurl, buildPythonPackage, isPy3k }:
2
3buildPythonPackage rec {
4 version = "1.8.1";
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 = "d7162fdb29337aebed65700cc7297016f6cd32cae4ad7aed8f7e7531f0217943";
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}