2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, nose }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-10-09 14:59:57 +00:00
|
|
|
version = "1.17";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "python-stdnum";
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-09 14:59:57 +00:00
|
|
|
sha256 = "374e2b5e13912ccdbf50b0b23fca2c3e0531174805c32d74e145f37756328340";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
nosetests
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://arthurdejong.org/python-stdnum/";
|
|
|
|
description = "Python module to handle standardized numbers and codes";
|
|
|
|
maintainers = with lib.maintainers; [ johbo ];
|
|
|
|
license = lib.licenses.lgpl2Plus;
|
|
|
|
};
|
|
|
|
}
|