1{ lib
2, buildPythonPackage
3, fetchPypi
4, python-dateutil
5, pytestCheckHook
6, pytz
7, natsort
8, tzlocal
9}:
10
11buildPythonPackage rec {
12 pname = "croniter";
13 version = "1.0.15";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "06c2smrjskd9di8lcpymcxmygncxr14932qjhslc37yyaafzq3d7";
18 };
19
20 propagatedBuildInputs = [
21 python-dateutil
22 natsort
23 ];
24
25 checkInputs = [
26 pytestCheckHook
27 pytz
28 tzlocal
29 ];
30
31 pythonImportsCheck = [ "croniter" ];
32
33 meta = with lib; {
34 description = "croniter provides iteration for datetime object with cron like format";
35 homepage = "https://github.com/kiorky/croniter";
36 license = licenses.mit;
37 maintainers = [ maintainers.costrouc ];
38 };
39}