0d9fc34957
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
34 lines
657 B
Nix
34 lines
657 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-stdnum";
|
|
version = "1.18";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-vMdj2cSa4j2l0remhtX9He7J2QUTQRYKENGscjomvsA=";
|
|
};
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"stdnum"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python module to handle standardized numbers and codes";
|
|
homepage = "https://arthurdejong.org/python-stdnum/";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = with maintainers; [ johbo ];
|
|
};
|
|
}
|