792b51d22f
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
40 lines
716 B
Nix
40 lines
716 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, python-dateutil
|
|
, pytestCheckHook
|
|
, pytz
|
|
, tzlocal
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "croniter";
|
|
version = "1.3.4";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-MWk2WRaDS+ZUwsrFfqFNcQ50L464pfzoBPbOVI2oC/I=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
python-dateutil
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
pytz
|
|
tzlocal
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"croniter"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Library to iterate over datetime object with cron like format";
|
|
homepage = "https://github.com/kiorky/croniter";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ costrouc ];
|
|
};
|
|
}
|