1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, icalendar
5, pytz
6, python-dateutil
7, x-wr-timezone
8, pytestCheckHook
9, restructuredtext_lint
10, pygments
11, tzdata
12}:
13
14buildPythonPackage rec {
15 pname = "recurring-ical-events";
16 version = "2.0.2";
17
18 format = "setuptools";
19
20 src = fetchFromGitHub {
21 owner = "niccokunzmann";
22 repo = "python-recurring-ical-events";
23 rev = "v${version}";
24 hash = "sha256-aM7c/HE8xLqT5wCLaCrfFn6c7FIkCJA6TTICZprAgNM=";
25 };
26
27 propagatedBuildInputs = [
28 icalendar
29 pytz
30 python-dateutil
31 x-wr-timezone
32 ];
33
34 nativeCheckInputs = [
35 pytestCheckHook
36 restructuredtext_lint
37 pygments
38 tzdata
39 ];
40
41 pythonImportsCheck = [ "recurring_ical_events" ];
42
43 meta = {
44 changelog = "https://github.com/niccokunzmann/python-recurring-ical-events/blob/${src.rev}/README.rst#changelog";
45 description = "Repeat ICalendar events by RRULE, RDATE and EXDATE";
46 homepage = "https://github.com/niccokunzmann/python-recurring-ical-events";
47 license = lib.licenses.lgpl3Plus;
48 maintainers = with lib.maintainers; [ dotlambda ];
49 };
50}