summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking/instant-messengers/gajim/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/gajim/default.nix')
-rw-r--r--pkgs/applications/networking/instant-messengers/gajim/default.nix17
1 files changed, 16 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/gajim/default.nix b/pkgs/applications/networking/instant-messengers/gajim/default.nix
index 8b5156708af9..05a8b9969575 100644
--- a/pkgs/applications/networking/instant-messengers/gajim/default.nix
+++ b/pkgs/applications/networking/instant-messengers/gajim/default.nix
@@ -1,4 +1,4 @@
-{ lib, fetchurl, gettext, wrapGAppsHook
+{ lib, fetchurl, fetchFromGitLab, gettext, wrapGAppsHook
# Native dependencies
, python3, gtk3, gobject-introspection, gnome
@@ -41,6 +41,21 @@ python3.pkgs.buildPythonApplication rec {
gettext wrapGAppsHook
];
+ # Workaround for https://dev.gajim.org/gajim/gajim/-/issues/10719.
+ # We don't use plugin release URL because it's updated in place.
+ plugins = fetchFromGitLab {
+ domain = "dev.gajim.org";
+ owner = "gajim";
+ repo = "gajim-plugins";
+ rev = "fea522e4360cec6ceacbf1df92644ab3343d4b99";
+ sha256 = "sha256-CmwEiLsdldoOfgHfWL/5hf/dp0HEDNAIlc5N0Np20KE=";
+ };
+
+ postPatch = ''
+ mkdir -p gajim/data/plugins
+ cp -r $plugins/plugin_installer gajim/data/plugins
+ '';
+
dontWrapGApps = true;
preFixup = ''