depot/third_party/nixpkgs/pkgs/development/python-modules/croniter/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

40 lines
723 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, python-dateutil
, pytestCheckHook
, pytz
, tzlocal
}:
buildPythonPackage rec {
pname = "croniter";
version = "1.3.14";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-0Gex+VtVPG6C2VqYPEZWlZE9zRL0eouaqTigRQ2U3V4=";
};
propagatedBuildInputs = [
python-dateutil
];
nativeCheckInputs = [
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 ];
};
}