From e0bd71bb7c0c841bb24f896a6ba53e77ce5328dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 19 Jan 2026 21:15:56 -0800 Subject: [PATCH] ntfy: remove XMPP support It didn't work anyway because sleekxmpp is broken. --- pkgs/by-name/nt/ntfy/package.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/nt/ntfy/package.nix b/pkgs/by-name/nt/ntfy/package.nix index d21624f41393..0de848d58f96 100644 --- a/pkgs/by-name/nt/ntfy/package.nix +++ b/pkgs/by-name/nt/ntfy/package.nix @@ -4,7 +4,6 @@ python3Packages, fetchFromGitHub, writableTmpDirAsHomeHook, - withXmpp ? false, # sleekxmpp doesn't support python 3.10, see https://github.com/dschep/ntfy/issues/266 withMatrix ? true, withSlack ? true, withEmoji ? true, @@ -42,10 +41,6 @@ python3Packages.buildPythonApplication rec { appdirs ntfy-webpush ] - ++ lib.optionals withXmpp [ - sleekxmpp - dnspython - ] ++ lib.optionals withMatrix [ matrix-client ] @@ -72,12 +67,12 @@ python3Packages.buildPythonApplication rec { disabledTests = [ # AssertionError: {'backends': ['default']} != {} "test_default_config" - ] - ++ lib.optionals (!withXmpp) [ + + # sleekxmpp was deprecated in favor of slixmpp "test_xmpp" ]; - disabledTestPaths = lib.optionals (!withXmpp) [ + disabledTestPaths = [ "tests/test_xmpp.py" ];