diff --git a/pkgs/desktops/xfce/applications/xfce4-screenshooter/default.nix b/pkgs/desktops/xfce/applications/xfce4-screenshooter/default.nix index 811f40c7308f..50601451a8d4 100644 --- a/pkgs/desktops/xfce/applications/xfce4-screenshooter/default.nix +++ b/pkgs/desktops/xfce/applications/xfce4-screenshooter/default.nix @@ -7,15 +7,19 @@ , libxfce4util , xfce4-panel , xfconf +, curl +, gnome +, jq +, xclip }: mkXfceDerivation { category = "apps"; pname = "xfce4-screenshooter"; - version = "1.10.4"; + version = "1.10.5"; odd-unstable = false; - sha256 = "sha256-jikvMHpmBLTqwDjTxx4AMU8CnfrtSExFauq+gcTX2E8="; + sha256 = "sha256-x1uQIfiUNMYowrCLpwdt1IsHfJLn81f8I/4NBwX/z9k="; buildInputs = [ exo @@ -27,6 +31,14 @@ mkXfceDerivation { xfconf ]; + preFixup = '' + # For Imgur upload action + # https://gitlab.xfce.org/apps/xfce4-screenshooter/-/merge_requests/51 + gappsWrapperArgs+=( + --prefix PATH : ${lib.makeBinPath [ curl gnome.zenity jq xclip ]} + ) + ''; + meta = with lib; { description = "Screenshot utility for the Xfce desktop"; maintainers = with maintainers; [ ] ++ teams.xfce.members;