2022-12-02 08:20:57 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, icalendar
|
|
|
|
, pytz
|
|
|
|
, python-dateutil
|
|
|
|
, x-wr-timezone
|
|
|
|
, pytestCheckHook
|
2023-11-16 04:20:00 +00:00
|
|
|
, restructuredtext-lint
|
2022-12-02 08:20:57 +00:00
|
|
|
, pygments
|
|
|
|
, tzdata
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "recurring-ical-events";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "2.1.0";
|
2022-12-02 08:20:57 +00:00
|
|
|
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "niccokunzmann";
|
|
|
|
repo = "python-recurring-ical-events";
|
|
|
|
rev = "v${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-HNImooD6+hsMIfJX8LuHw1YyFIQNbY7dAjqdupPbhEE=";
|
2022-12-02 08:20:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
icalendar
|
|
|
|
pytz
|
|
|
|
python-dateutil
|
|
|
|
x-wr-timezone
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-12-02 08:20:57 +00:00
|
|
|
pytestCheckHook
|
2023-11-16 04:20:00 +00:00
|
|
|
restructuredtext-lint
|
2022-12-02 08:20:57 +00:00
|
|
|
pygments
|
|
|
|
tzdata
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "recurring_ical_events" ];
|
|
|
|
|
|
|
|
meta = {
|
2023-01-20 10:41:00 +00:00
|
|
|
changelog = "https://github.com/niccokunzmann/python-recurring-ical-events/blob/${src.rev}/README.rst#changelog";
|
2022-12-02 08:20:57 +00:00
|
|
|
description = "Repeat ICalendar events by RRULE, RDATE and EXDATE";
|
|
|
|
homepage = "https://github.com/niccokunzmann/python-recurring-ical-events";
|
|
|
|
license = lib.licenses.lgpl3Plus;
|
|
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|