2022-08-21 13:32:41 +00:00
|
|
|
{ lib
|
|
|
|
, mkXfceDerivation
|
2024-06-05 15:53:02 +00:00
|
|
|
, wayland-scanner
|
2022-08-21 13:32:41 +00:00
|
|
|
, exo
|
2024-06-05 15:53:02 +00:00
|
|
|
, gtk3
|
|
|
|
, libX11
|
|
|
|
, libXext
|
|
|
|
, libXfixes
|
|
|
|
, libXtst
|
2023-01-11 07:51:40 +00:00
|
|
|
, libxml2
|
|
|
|
, libsoup_3
|
2022-08-21 13:32:41 +00:00
|
|
|
, libxfce4ui
|
|
|
|
, libxfce4util
|
2024-06-05 15:53:02 +00:00
|
|
|
, wayland
|
|
|
|
, wlr-protocols
|
2022-08-21 13:32:41 +00:00
|
|
|
, xfce4-panel
|
2023-01-11 07:51:40 +00:00
|
|
|
, xfconf
|
2024-02-07 01:22:34 +00:00
|
|
|
, curl
|
|
|
|
, gnome
|
|
|
|
, jq
|
|
|
|
, xclip
|
2022-08-21 13:32:41 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkXfceDerivation {
|
|
|
|
category = "apps";
|
|
|
|
pname = "xfce4-screenshooter";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "1.10.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
odd-unstable = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
sha256 = "sha256-g3wYIyJEnYCFhCs6YXzfEe5lnvIY8ACN/m7He+ww3mA=";
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
wayland-scanner
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-08-21 13:32:41 +00:00
|
|
|
buildInputs = [
|
|
|
|
exo
|
2024-06-05 15:53:02 +00:00
|
|
|
gtk3
|
|
|
|
libX11
|
|
|
|
libXext
|
|
|
|
libXfixes
|
|
|
|
libXtst
|
2023-01-11 07:51:40 +00:00
|
|
|
libxml2
|
|
|
|
libsoup_3
|
2022-08-21 13:32:41 +00:00
|
|
|
libxfce4ui
|
|
|
|
libxfce4util
|
2024-06-05 15:53:02 +00:00
|
|
|
wayland
|
|
|
|
wlr-protocols
|
2022-08-21 13:32:41 +00:00
|
|
|
xfce4-panel
|
2023-01-11 07:51:40 +00:00
|
|
|
xfconf
|
2022-08-21 13:32:41 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-02-07 01:22:34 +00:00
|
|
|
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 ]}
|
|
|
|
)
|
|
|
|
'';
|
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Screenshot utility for the Xfce desktop";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "xfce4-screenshooter";
|
2021-12-19 01:06:50 +00:00
|
|
|
maintainers = with maintainers; [ ] ++ teams.xfce.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|