60f07311b9
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
46 lines
822 B
Nix
46 lines
822 B
Nix
{ lib
|
|
, mkXfceDerivation
|
|
, exo
|
|
, libxml2
|
|
, libsoup_3
|
|
, libxfce4ui
|
|
, libxfce4util
|
|
, xfce4-panel
|
|
, xfconf
|
|
, curl
|
|
, gnome
|
|
, jq
|
|
, xclip
|
|
}:
|
|
|
|
mkXfceDerivation {
|
|
category = "apps";
|
|
pname = "xfce4-screenshooter";
|
|
version = "1.10.5";
|
|
odd-unstable = false;
|
|
|
|
sha256 = "sha256-x1uQIfiUNMYowrCLpwdt1IsHfJLn81f8I/4NBwX/z9k=";
|
|
|
|
buildInputs = [
|
|
exo
|
|
libxml2
|
|
libsoup_3
|
|
libxfce4ui
|
|
libxfce4util
|
|
xfce4-panel
|
|
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;
|
|
};
|
|
}
|