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