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 = [