radicale: remove source override (upstream has released new version; no longer necessary to patch)

This commit is contained in:
2025-01-10 21:39:41 +00:00
parent 4f2c14f341
commit 616e4c645d

View File

@@ -10,7 +10,7 @@
# TODO: this setup allows access to *anything* on the machine with net access;
# but i don't really want e.g. my web browser to know all my personal contacts:
# maybe run this in a net namespace? `JoinsNamespaceOf=evolution` (or vice versa)?
{ config, lib, pkgs, ... }:
{ config, lib, ... }:
let
cfg = config.sane.programs.radicale;
in
@@ -23,15 +23,6 @@ in
services.radicale = lib.mkIf cfg.enabled {
enable = true;
package = pkgs.radicale.overrideAttrs (upstream: {
version = lib.warnIf (lib.versionOlder "3.3.1" upstream.version) "radicale outdated: remove src override" "3.3.1-unstable-2024-12-14";
src = pkgs.fetchFromGitHub {
owner = "Kozea";
repo = "Radicale";
rev = "778f56cc4d7b828af6e2e472f2e7898db72dca22";
hash = "sha256-Oy6LDI+gvAqwR5XRz7JmRWI7KrAUYTOzHfvJsBRyVmU=";
};
});
settings.storage.type = "multifilesystem_nolock";
settings.storage.use_cache_subfolder_for_history = true; #< requires radicale > 3.3.1
settings.storage.use_cache_subfolder_for_item = true;