python3Packages.icalendar: fix build failure for python3.12 (#540442)

This commit is contained in:
Yohann Boniface
2026-07-10 19:51:06 +00:00
committed by GitHub
@@ -3,9 +3,11 @@
buildPythonPackage,
fetchFromGitHub,
replaceVars,
pythonOlder,
hatch-vcs,
hatchling,
python-dateutil,
typing-extensions,
tzdata,
hypothesis,
pyprojectVersionPatchHook,
@@ -36,6 +38,10 @@ buildPythonPackage rec {
dependencies = [
python-dateutil
tzdata
]
++ lib.optionals (pythonOlder "3.13") [
# typing.TypeIs arrived in Python 3.13.
typing-extensions
];
nativeCheckInputs = [