1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/desktops/plasma-5/kde-gtk-config/default.nix

21 lines
544 B
Nix
Raw Normal View History

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