From a4c356692514ebbf88c8d44f0dfeb9cfe078ea5e Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 11 Oct 2023 06:57:14 +0000 Subject: [PATCH] mailman: remove importlib-resources dependency mailman is incompatible with importlib-resources 6.x, and upstream have decided to remove the dependency. Fixes: 3c86835248f5 ("python3Packages.importlib-resources: 5.12.0 -> 6.0.1") Link: https://gitlab.com/mailman/mailman/-/issues/1093 --- pkgs/servers/mail/mailman/package.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/mail/mailman/package.nix b/pkgs/servers/mail/mailman/package.nix index 20c1771d089f..9bb138ab1ee1 100644 --- a/pkgs/servers/mail/mailman/package.nix +++ b/pkgs/servers/mail/mailman/package.nix @@ -30,7 +30,6 @@ buildPythonPackage rec { flufl_i18n flufl_lock gunicorn - importlib-resources lazr_config passlib requests @@ -52,6 +51,11 @@ buildPythonPackage rec { url = "https://gitlab.com/mailman/mailman/-/commit/9613154f3c04fa2383fbf017031ef263c291418d.patch"; sha256 = "0vyw87s857vfxbf7kihwb6w094xyxmxbi1bpdqi3ybjamjycp55r"; }) + (fetchpatch { + url = "https://gitlab.com/mailman/mailman/-/commit/5e4431af6bb7d672a7ed7e3329f8fac7812d47f8.patch"; + excludes = [ ".gitlab-ci.yml" ]; + hash = "sha256-y2AE9hU4Z1BpBlJywxMWiuRvltWkk+R9YgMkpemvlIo="; + }) ./log-stderr.patch ];