depot/third_party/nixpkgs/pkgs/development/python-modules/croniter/default.nix
Default email 3b21d1e521 Project import generated by Copybara.
GitOrigin-RevId: 23cd13167a1432550e48734079c2ffeeb441fb96
2021-07-15 00:03:04 +02:00

39 lines
713 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, python-dateutil
, pytestCheckHook
, pytz
, natsort
, tzlocal
}:
buildPythonPackage rec {
pname = "croniter";
version = "1.0.15";
src = fetchPypi {
inherit pname version;
sha256 = "06c2smrjskd9di8lcpymcxmygncxr14932qjhslc37yyaafzq3d7";
};
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 ];
};
}