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