nixpkgs/pkgs/development/python-modules/croniter/default.nix

40 lines
713 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, python-dateutil
, pytestCheckHook
, pytz
2020-06-08 21:04:54 +02:00
, natsort
, tzlocal
}:
buildPythonPackage rec {
pname = "croniter";
version = "1.0.15";
src = fetchPypi {
inherit pname version;
sha256 = "06c2smrjskd9di8lcpymcxmygncxr14932qjhslc37yyaafzq3d7";
};
propagatedBuildInputs = [
python-dateutil
2020-06-08 21:04:54 +02:00
natsort
];
checkInputs = [
pytestCheckHook
pytz
2020-06-08 21:04:54 +02:00
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 ];
};
}