2019-07-18 13:17:06 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, python-dateutil
|
2021-03-24 08:41:47 +00:00
|
|
|
, pytestCheckHook
|
2019-07-18 13:17:06 +00:00
|
|
|
, pytz
|
2020-06-08 19:04:54 +00:00
|
|
|
, natsort
|
|
|
|
, tzlocal
|
2019-07-18 13:17:06 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "croniter";
|
2021-07-02 07:33:08 +00:00
|
|
|
version = "1.0.15";
|
2019-07-18 13:17:06 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-07-02 07:33:08 +00:00
|
|
|
sha256 = "06c2smrjskd9di8lcpymcxmygncxr14932qjhslc37yyaafzq3d7";
|
2019-07-18 13:17:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
python-dateutil
|
2020-06-08 19:04:54 +00:00
|
|
|
natsort
|
2019-07-18 13:17:06 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2021-03-24 08:41:47 +00:00
|
|
|
pytestCheckHook
|
2019-07-18 13:17:06 +00:00
|
|
|
pytz
|
2020-06-08 19:04:54 +00:00
|
|
|
tzlocal
|
2019-07-18 13:17:06 +00:00
|
|
|
];
|
|
|
|
|
2021-05-17 07:25:43 +00:00
|
|
|
pythonImportsCheck = [ "croniter" ];
|
|
|
|
|
2019-07-18 13:17:06 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "croniter provides iteration for datetime object with cron like format";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/kiorky/croniter";
|
2019-07-18 13:17:06 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|