2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
pythonOlder,
|
|
|
|
fetchFromGitHub,
|
|
|
|
setuptools,
|
|
|
|
icalendar,
|
|
|
|
pytz,
|
|
|
|
python-dateutil,
|
|
|
|
x-wr-timezone,
|
|
|
|
pytestCheckHook,
|
|
|
|
restructuredtext-lint,
|
|
|
|
pygments,
|
|
|
|
tzdata,
|
2022-12-02 08:20:57 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "recurring-ical-events";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "2.2.0";
|
2022-12-02 08:20:57 +00:00
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
pyproject = true;
|
2022-12-02 08:20:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "niccokunzmann";
|
|
|
|
repo = "python-recurring-ical-events";
|
|
|
|
rev = "v${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-Njd+sc35jlA96iVf2uuVN2BK92ctwUDfBAUfpgqtPs0=";
|
2022-12-02 08:20:57 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
build-system = [ setuptools ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
dependencies = [
|
2022-12-02 08:20:57 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|