taterclient-ddnet: 10.0.3 ->10.1.1 (#377834)
[NixPkgs.git] / pkgs / desktops / plasma-5 / kde-gtk-config / default.nix
blob83442c3359aeae1a853156da1526c6ad03fdaea4
2   mkDerivation,
3   extra-cmake-modules,
4   wrapGAppsHook3,
5   glib,
6   gtk3,
7   karchive,
8   kcmutils,
9   kconfigwidgets,
10   ki18n,
11   kiconthemes,
12   kio,
13   knewstuff,
14   gsettings-desktop-schemas,
15   xsettingsd,
16   kdecoration,
17   sass,
20 mkDerivation {
21   pname = "kde-gtk-config";
22   nativeBuildInputs = [
23     extra-cmake-modules
24     wrapGAppsHook3
25   ];
26   dontWrapGApps = true; # There is nothing to wrap
27   buildInputs = [
28     ki18n
29     kio
30     glib
31     gtk3
32     karchive
33     kcmutils
34     kconfigwidgets
35     kiconthemes
36     knewstuff
37     gsettings-desktop-schemas
38     xsettingsd
39     kdecoration
40     sass
41   ];
42   cmakeFlags = [
43     "-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
44     "-DGLIB_SCHEMAS_DIR=${gsettings-desktop-schemas.out}/"
45   ];
46   # The gtkconfig KDED module will crash the daemon if the GSettings schemas
47   # aren't found.
48   patches = [ ./0001-gsettings-schemas-path.patch ];
49   preConfigure = ''
50     NIX_CFLAGS_COMPILE+=" -DGSETTINGS_SCHEMAS_PATH=\"$GSETTINGS_SCHEMAS_PATH\""
51   '';