depot/third_party/nixpkgs/pkgs/development/python-modules/croniter/default.nix
Default email 14910f5943 Project import generated by Copybara.
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
2022-01-13 15:06:32 -05:00

39 lines
724 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, python-dateutil
, pytestCheckHook
, pytz
, natsort
, tzlocal
}:
buildPythonPackage rec {
pname = "croniter";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "4023e4d18ced979332369964351e8f4f608c1f7c763e146b1d740002c4245247";
};
propagatedBuildInputs = [
python-dateutil
natsort
];
checkInputs = [
pytestCheckHook
pytz
tzlocal
];
pythonImportsCheck = [ "croniter" ];
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 ];
};
}