mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
39 lines
898 B
Nix
39 lines
898 B
Nix
{ mkXfceDerivation, automakeAddFlags, exo, garcon, gtk3
|
|
, libnotify ? null, libxfce4ui, libxfce4util, libxklavier ? null
|
|
, upower ? null, xfconf, xf86inputlibinput ? null }:
|
|
|
|
mkXfceDerivation rec {
|
|
category = "xfce";
|
|
pname = "xfce4-settings";
|
|
version = "4.13.4";
|
|
|
|
sha256 = "0qnnpvcs2hpfq3n4byjwq343p95i9xw96rq7ym4md4mahnk176dy";
|
|
|
|
postPatch = ''
|
|
automakeAddFlags xfce4-settings-editor/Makefile.am xfce4_settings_editor_CFLAGS DBUS_GLIB_CFLAGS
|
|
for f in $(find . -name \*.c); do
|
|
substituteInPlace $f --replace \"libinput-properties.h\" '<xorg/libinput-properties.h>'
|
|
done
|
|
'';
|
|
|
|
nativeBuildInputs = [ automakeAddFlags ];
|
|
|
|
buildInputs = [
|
|
exo
|
|
garcon
|
|
gtk3
|
|
libnotify
|
|
libxfce4ui
|
|
libxfce4util
|
|
libxklavier
|
|
upower
|
|
xfconf
|
|
xf86inputlibinput
|
|
];
|
|
|
|
configureFlags = [
|
|
"--enable-pluggable-dialogs"
|
|
"--enable-sound-settings"
|
|
];
|
|
}
|