{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, setuptools, icalendar, python-dateutil, tzdata, x-wr-timezone, pytestCheckHook, pytz, restructuredtext-lint, pygments, }: buildPythonPackage rec { pname = "recurring-ical-events"; version = "3.3.2"; disabled = pythonOlder "3.8"; pyproject = true; src = fetchFromGitHub { owner = "niccokunzmann"; repo = "python-recurring-ical-events"; rev = "v${version}"; hash = "sha256-1cWjOaL+STrHMux/fc+FaRVQIOMcseznNRcghsV+DtM="; }; build-system = [ setuptools ]; pythonRelaxDeps = [ "icalendar" ]; dependencies = [ icalendar python-dateutil tzdata x-wr-timezone ]; nativeCheckInputs = [ pytestCheckHook pytz restructuredtext-lint pygments ]; pythonImportsCheck = [ "recurring_ical_events" ]; meta = { changelog = "https://github.com/niccokunzmann/python-recurring-ical-events/blob/${src.rev}/README.rst#changelog"; 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 ]; }; }