2022-12-02 08:20:57 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, icalendar
|
|
|
|
, pytz
|
|
|
|
, python-dateutil
|
|
|
|
, x-wr-timezone
|
|
|
|
, pytestCheckHook
|
|
|
|
, restructuredtext_lint
|
|
|
|
, pygments
|
|
|
|
, tzdata
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "recurring-ical-events";
|
2023-03-04 12:14:45 +00:00
|
|
|
version = "2.0.2";
|
2022-12-02 08:20:57 +00:00
|
|
|
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "niccokunzmann";
|
|
|
|
repo = "python-recurring-ical-events";
|
|
|
|
rev = "v${version}";
|
2023-03-04 12:14:45 +00:00
|
|
|
hash = "sha256-aM7c/HE8xLqT5wCLaCrfFn6c7FIkCJA6TTICZprAgNM=";
|
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
|
|
|
|
restructuredtext_lint
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|