From 4887beb0037014de6d045a0c3940c9d1772c465c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 12 Apr 2025 19:02:00 +0200 Subject: [PATCH] python313Packages.gcal-sync: backport ical v9.0 compat --- pkgs/development/python-modules/gcal-sync/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/python-modules/gcal-sync/default.nix b/pkgs/development/python-modules/gcal-sync/default.nix index f59a49895f62..dfb0d31a32c7 100644 --- a/pkgs/development/python-modules/gcal-sync/default.nix +++ b/pkgs/development/python-modules/gcal-sync/default.nix @@ -3,6 +3,7 @@ aiohttp, buildPythonPackage, fetchFromGitHub, + fetchpatch, freezegun, ical, pydantic, @@ -27,6 +28,15 @@ buildPythonPackage rec { hash = "sha256-8VUXW6tIX43TV7UIxeforZIxAUqGY9uqpz6WGyH4d8E="; }; + patches = [ + (fetchpatch { + name = "ical-v9-compat.patch"; + url = "https://github.com/allenporter/gcal_sync/commit/7ce4b4214568764c234bff179cf05f7e03e21c1b.patch"; + hash = "sha256-OKFOl1uSCFECbZJe5/J+9oD3fpX/sRM1zPgJ+fmBqPg="; + excludes = [ "requirements_dev.txt" ]; + }) + ]; + build-system = [ setuptools ]; dependencies = [