nixpkgs/pkgs/desktops/xfce/core/xfce4-settings/default.nix

40 lines
812 B
Nix

{ mkXfceDerivation, exo, garcon, gtk3, glib
, libnotify, libxfce4ui, libxfce4util, libxklavier
, upower, xfconf, xf86inputlibinput }:
mkXfceDerivation {
category = "xfce";
pname = "xfce4-settings";
version = "4.16.2";
sha256 = "sha256-DkybMfkgsC8fJuhOWLzKO5f2Y8YtqzUXMH/npTv21yY=";
postPatch = ''
for f in xfsettingsd/pointers.c dialogs/mouse-settings/main.c; do
substituteInPlace $f --replace \"libinput-properties.h\" '<xorg/libinput-properties.h>'
done
'';
buildInputs = [
exo
garcon
glib
gtk3
libnotify
libxfce4ui
libxfce4util
libxklavier
upower
xf86inputlibinput
xfconf
];
configureFlags = [
"--enable-pluggable-dialogs"
"--enable-sound-settings"
];
meta = {
description = "Settings manager for Xfce";
};
}