From c3eda87314cbb7138defbf4b4c5bd28cf865693c Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Mon, 5 Feb 2024 12:55:44 +0000 Subject: [PATCH] xfce.xfce4-screenshooter: 1.10.4 -> 1.10.5 https://gitlab.xfce.org/apps/xfce4-screenshooter/-/compare/xfce4-screenshooter-1.10.4...xfce4-screenshooter-1.10.5 --- .../applications/xfce4-screenshooter/default.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) 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;