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