2018-06-23 14:27:58 +01:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, isPy3k }:
|
2017-02-20 19:24:18 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-11-09 00:12:31 +00:00
|
|
|
version = "1.10";
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "python-stdnum";
|
2017-02-20 19:24:18 +00:00
|
|
|
# Failing tests and dependency issue on Py3k
|
|
|
|
disabled = isPy3k;
|
2018-06-23 14:27:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-09 00:12:31 +00:00
|
|
|
sha256 = "0prs63q8zdgwr5cxc5a43zvsm66l0gf9jk19qdf85m6isnp5186a";
|
2017-02-20 19:24:18 +00:00
|
|
|
};
|
|
|
|
meta = {
|
2018-06-27 21:12:57 +01:00
|
|
|
homepage = https://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;
|
|
|
|
};
|
|
|
|
}
|