python313Packages.ua-parser: 1.0.0 -> 1.0.1 (#379497)
[NixPkgs.git] / pkgs / desktops / xfce / core / xfce4-settings / default.nix
blob53b026f8be4da9f61b8b01ca540ab4e6297d477a
1 { lib
2 , mkXfceDerivation
3 , wayland-scanner
4 , exo
5 , garcon
6 , gtk3
7 , gtk-layer-shell
8 , glib
9 , libnotify
10 , libxfce4ui
11 , libxfce4util
12 , libxklavier
13 , upower
14 # Disabled by default on upstream and actually causes issues:
15 # https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/222
16 , withUpower ? false
17 , wlr-protocols
18 , xfconf
19 , xf86inputlibinput
20 , colord
21 , withColord ? true
24 mkXfceDerivation {
25   category = "xfce";
26   pname = "xfce4-settings";
27   version = "4.20.0";
29   sha256 = "sha256-0fMuAucyxLr2VzQqAB0CL+HgkHNJctiVNZmUmTNzaPc=";
31   nativeBuildInputs = [
32     wayland-scanner
33   ];
35   buildInputs = [
36     exo
37     garcon
38     glib
39     gtk3
40     gtk-layer-shell
41     libnotify
42     libxfce4ui
43     libxfce4util
44     libxklavier
45     wlr-protocols
46     xf86inputlibinput
47     xfconf
48   ]
49   ++ lib.optionals withUpower [ upower ]
50   ++ lib.optionals withColord [ colord ];
52   configureFlags = [
53     "--enable-pluggable-dialogs"
54     "--enable-sound-settings"
55   ]
56   ++ lib.optionals withUpower [ "--enable-upower-glib" ]
57   ++ lib.optionals withColord [ "--enable-colord" ];
59   meta = with lib; {
60     description = "Settings manager for Xfce";
61     maintainers = with maintainers; [ ] ++ teams.xfce.members;
62   };