depot/third_party/nixpkgs/pkgs/development/python-modules/croniter/default.nix
Default email 48af15f7a5 Project import generated by Copybara.
GitOrigin-RevId: 04a2b269d8921505a2969fc9ec25c1f517f2b307
2021-03-20 04:20:00 +00:00

37 lines
684 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, python-dateutil
, pytestCheckHook
, pytz
, natsort
, tzlocal
}:
buildPythonPackage rec {
pname = "croniter";
version = "1.0.9";
src = fetchPypi {
inherit pname version;
sha256 = "708532f70584207e23ef2989ca40f367e6238bfe050133a1aff43e1e0e6f6092";
};
propagatedBuildInputs = [
python-dateutil
natsort
];
checkInputs = [
pytestCheckHook
pytz
tzlocal
];
meta = with lib; {
description = "croniter provides iteration for datetime object with cron like format";
homepage = "https://github.com/kiorky/croniter";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}