remmina: use `desktopToDarwinBundle`

+12 -2
+12 -2
pkgs/applications/networking/remote/remmina/default.nix
··· 1 - { lib, stdenv, fetchFromGitLab, cmake, ninja, pkg-config, wrapGAppsHook 1 + { lib, stdenv, fetchFromGitLab, fetchpatch, cmake, ninja, pkg-config, wrapGAppsHook 2 + , desktopToDarwinBundle 2 3 , glib, gtk3, gettext, libxkbfile, libX11, python3 3 4 , freerdp, libssh, libgcrypt, gnutls, vte 4 5 , pcre2, libdbusmenu-gtk3, libappindicator-gtk3 ··· 23 24 sha256 = "sha256-oEgpav4oQ9Sld9PY4TsutS5xEnhQgOHnpQhDesRFTeQ="; 24 25 }; 25 26 26 - nativeBuildInputs = [ cmake ninja pkg-config wrapGAppsHook ]; 27 + patches = [ 28 + # https://gitlab.com/Remmina/Remmina/-/merge_requests/2525 29 + (fetchpatch { 30 + url = "https://gitlab.com/Remmina/Remmina/-/commit/2ce153411597035d0f3db5177d703541e09eaa06.patch"; 31 + hash = "sha256-RV/8Ze9aN4dW49Z+y3z0jFs4dyEWu7DK2FABtmse9Hc="; 32 + }) 33 + ]; 34 + 35 + nativeBuildInputs = [ cmake ninja pkg-config wrapGAppsHook ] 36 + ++ lib.optionals stdenv.isDarwin [ desktopToDarwinBundle ]; 27 37 28 38 buildInputs = [ 29 39 gsettings-desktop-schemas