diff options
| author | Nikolay Amiantov <ab@fmap.me> | 2022-01-05 00:48:51 +0300 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2022-01-05 06:15:19 +0000 |
| commit | 5d09db8827e4f6439ad647e77218f299747f058b (patch) | |
| tree | 7c39f718a71e9a28780ac2bb5beb9d5ce4aa034b | |
| parent | gajim: fix tests (diff) | |
| download | nixpkgs-origin/backport-153518-to-release-21.11.tar.gz | |
gajim: add plugin installerorigin/backport-153518-to-release-21.11
Workaround upstream issue https://dev.gajim.org/gajim/gajim/-/issues/10719.
(cherry picked from commit 7e041d344690f638da46a6dfc7edf780ae222af7)
| -rw-r--r-- | pkgs/applications/networking/instant-messengers/gajim/default.nix | 17 |
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 = '' |
