2022-11-05 01:22:29 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
2017-02-20 20:24:18 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 11:25:35 +02:00
|
|
|
pname = "python-stdnum";
|
2022-12-30 20:13:42 +01:00
|
|
|
version = "1.18";
|
2022-11-05 01:22:29 +01:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2018-06-23 15:27:58 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-12-30 20:13:42 +01:00
|
|
|
hash = "sha256-vMdj2cSa4j2l0remhtX9He7J2QUTQRYKENGscjomvsA=";
|
2017-02-20 20:24:18 +01:00
|
|
|
};
|
2019-06-02 14:47:23 -07:00
|
|
|
|
2022-11-05 01:22:29 +01:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2019-06-02 14:47:23 -07:00
|
|
|
|
2022-11-05 01:22:29 +01:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"stdnum"
|
|
|
|
];
|
2019-06-02 14:47:23 -07:00
|
|
|
|
2022-11-05 01:22:29 +01:00
|
|
|
meta = with lib; {
|
2017-02-20 20:24:18 +01:00
|
|
|
description = "Python module to handle standardized numbers and codes";
|
2022-11-05 01:22:29 +01:00
|
|
|
homepage = "https://arthurdejong.org/python-stdnum/";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ johbo ];
|
2017-02-20 20:24:18 +01:00
|
|
|
};
|
|
|
|
}
|