depot/third_party/nixpkgs/pkgs/desktops/xfce/applications/xfce4-screenshooter/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

62 lines
1 KiB
Nix

{ lib
, mkXfceDerivation
, wayland-scanner
, exo
, gtk3
, libX11
, libXext
, libXfixes
, libXtst
, libxfce4ui
, libxfce4util
, wayland
, wlr-protocols
, xfce4-panel
, xfconf
, curl
, zenity
, jq
, xclip
}:
mkXfceDerivation {
category = "apps";
pname = "xfce4-screenshooter";
version = "1.11.1";
odd-unstable = false;
sha256 = "sha256-/N79YK233k9rVg5fGr27b8AZD9bCXllNQvrN4ghir/M=";
nativeBuildInputs = [
wayland-scanner
];
buildInputs = [
exo
gtk3
libX11
libXext
libXfixes
libXtst
libxfce4ui
libxfce4util
wayland
wlr-protocols
xfce4-panel
xfconf
];
preFixup = ''
# For Imgur upload action
# https://gitlab.xfce.org/apps/xfce4-screenshooter/-/merge_requests/51
gappsWrapperArgs+=(
--prefix PATH : ${lib.makeBinPath [ curl zenity jq xclip ]}
)
'';
meta = with lib; {
description = "Screenshot utility for the Xfce desktop";
mainProgram = "xfce4-screenshooter";
maintainers = with maintainers; [ ] ++ teams.xfce.members;
};
}