about summary refs log tree commit diff
path: root/pkgs/desktops
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2024-02-05 12:55:44 +0000
committerBobby Rong <rjl931189261@126.com>2024-02-05 21:07:34 +0800
commitc3eda87314cbb7138defbf4b4c5bd28cf865693c (patch)
tree05f0881d82637c386509e71c81724a862f37c04e /pkgs/desktops
parentb8b232ae7b8b144397fdb12d20f592e5e7c1a64d (diff)
downloadnixlib-c3eda87314cbb7138defbf4b4c5bd28cf865693c.tar
nixlib-c3eda87314cbb7138defbf4b4c5bd28cf865693c.tar.gz
nixlib-c3eda87314cbb7138defbf4b4c5bd28cf865693c.tar.bz2
nixlib-c3eda87314cbb7138defbf4b4c5bd28cf865693c.tar.lz
nixlib-c3eda87314cbb7138defbf4b4c5bd28cf865693c.tar.xz
nixlib-c3eda87314cbb7138defbf4b4c5bd28cf865693c.tar.zst
nixlib-c3eda87314cbb7138defbf4b4c5bd28cf865693c.zip
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
Diffstat (limited to 'pkgs/desktops')
-rw-r--r--pkgs/desktops/xfce/applications/xfce4-screenshooter/default.nix16
1 files 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;