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