xandikos: fix compatibility with icalendar v6

This commit is contained in:
Robert Schütz
2024-09-30 22:19:30 -07:00
parent 7e4c6016a0
commit 828ad80e8f
+11
View File
@@ -1,5 +1,6 @@
{ lib
, fetchFromGitHub
, fetchpatch2
, python3Packages
, nixosTests
}:
@@ -18,6 +19,15 @@ python3Packages.buildPythonApplication rec {
hash = "sha256-cBsceJ6tib8OYx5L2Hv2AqRS+ADRSLIuJGIULNpAmEI=";
};
patches = [
(fetchpatch2 {
name = "fix-compatibility-with-icalendar-v6.patch";
url = "https://github.com/jelmer/xandikos/commit/ae8924c374ed86b2efde5bfbc75e56f6d8318086.patch";
excludes = [ "requirements.txt" ];
hash = "sha256-PCKo5C6Ejw9ZsFFLAMw1ZtMoCq9gJxR65K7CM6RUYwU=";
})
];
nativeBuildInputs = with python3Packages; [
setuptools
wheel
@@ -31,6 +41,7 @@ python3Packages.buildPythonApplication rec {
icalendar
jinja2
multidict
pytz
vobject
];