2017-02-20 19:24:18 +00:00
|
|
|
{ lib, fetchurl, buildPythonPackage, isPy3k }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-06-12 17:47:06 +01:00
|
|
|
version = "1.9";
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "python-stdnum";
|
|
|
|
name = "${pname}-${version}";
|
2017-02-20 19:24:18 +00:00
|
|
|
# Failing tests and dependency issue on Py3k
|
|
|
|
disabled = isPy3k;
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/p/python-stdnum/${name}.tar.gz";
|
2018-06-12 17:47:06 +01:00
|
|
|
sha256 = "d587a520182f9d8aef7659cca429f4382881589c8883a0a55322b2f94970bdb3";
|
2017-02-20 19:24:18 +00:00
|
|
|
};
|
|
|
|
meta = {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://arthurdejong.org/python-stdnum/;
|
2017-02-20 19:24:18 +00:00
|
|
|
description = "Python module to handle standardized numbers and codes";
|
|
|
|
maintainers = with lib.maintainers; [ johbo ];
|
|
|
|
license = lib.licenses.lgpl2Plus;
|
|
|
|
};
|
|
|
|
}
|