From 0fe5017065d24b7f44700e29aa213e151aab8463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 27 Nov 2022 12:49:28 -0800 Subject: [PATCH] python310Packages.recurring-ical-events: init at 1.1.0b0 --- .../recurring-ical-events/default.nix | 49 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 51 insertions(+) create mode 100644 pkgs/development/python-modules/recurring-ical-events/default.nix diff --git a/pkgs/development/python-modules/recurring-ical-events/default.nix b/pkgs/development/python-modules/recurring-ical-events/default.nix new file mode 100644 index 000000000000..a40b4a089e11 --- /dev/null +++ b/pkgs/development/python-modules/recurring-ical-events/default.nix @@ -0,0 +1,49 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, icalendar +, pytz +, python-dateutil +, x-wr-timezone +, pytestCheckHook +, restructuredtext_lint +, pygments +, tzdata +}: + +buildPythonPackage rec { + pname = "recurring-ical-events"; + version = "1.1.0b0"; + + format = "setuptools"; + + src = fetchFromGitHub { + owner = "niccokunzmann"; + repo = "python-recurring-ical-events"; + rev = "v${version}"; + hash = "sha256-ePbyZd/l/O3p/6Mbq1kMFsktkFKpPAw/u7uUynZYP2Y="; + }; + + propagatedBuildInputs = [ + icalendar + pytz + python-dateutil + x-wr-timezone + ]; + + checkInputs = [ + pytestCheckHook + restructuredtext_lint + pygments + tzdata + ]; + + pythonImportsCheck = [ "recurring_ical_events" ]; + + meta = { + 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 3d61ebeff083..66f58e812065 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9648,6 +9648,8 @@ self: super: with self; { recordlinkage = callPackage ../development/python-modules/recordlinkage { }; + recurring-ical-events = callPackage ../development/python-modules/recurring-ical-events { }; + redbaron = callPackage ../development/python-modules/redbaron { }; redis = callPackage ../development/python-modules/redis { };