nixpkgs/pkgs/desktops/plasma-5/kde-gtk-config/default.nix

28 lines
547 B
Nix
Raw Normal View History

{ mkDerivation
, extra-cmake-modules
2016-04-21 19:01:22 +03:00
, glib
, gtk2
, gtk3
, karchive
, kcmutils
, kconfigwidgets
, ki18n
, kiconthemes
, kio
, knewstuff
}:
mkDerivation {
2016-04-21 19:01:22 +03:00
name = "kde-gtk-config";
patches = [ ./0001-follow-symlinks.patch ];
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [
ki18n kio glib gtk2 gtk3 karchive kcmutils kconfigwidgets kiconthemes
2016-04-21 19:01:22 +03:00
knewstuff
];
cmakeFlags = [
"-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
"-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include"
];
}