2014-09-20 11:09:11 +02:00
|
|
|
{ stdenv, kde, kdelibs, qimageblitz, libdbusmenu_qt, xorg, lm_sensors
|
|
|
|
, pciutils, libraw1394, libusb1, python, libqalculate, akonadi
|
|
|
|
, xkeyboard_config, kdepimlibs, pam, boost, gpsd, prison
|
|
|
|
, libjpeg, pkgconfig, kactivities, qjson, udev, fetchurl
|
|
|
|
}:
|
|
|
|
|
|
|
|
kde {
|
|
|
|
#todo: wayland, xmms, libusb isn't found
|
2015-01-18 06:12:58 +01:00
|
|
|
#note: xorg.libXft is needed to build kfontview and kfontinst though this isn't reflected in the build log
|
2014-09-20 11:09:11 +02:00
|
|
|
buildInputs =
|
|
|
|
[ kdelibs qimageblitz libdbusmenu_qt xorg.libxcb xorg.xcbutilimage libjpeg
|
|
|
|
xorg.xcbutilrenderutil xorg.xcbutilkeysyms xorg.libpthreadstubs xorg.libXdmcp
|
|
|
|
xorg.libxkbfile xorg.libXcomposite xorg.libXtst
|
2015-01-18 06:12:58 +01:00
|
|
|
xorg.libXdamage xorg.libXft
|
2014-09-20 11:09:11 +02:00
|
|
|
|
2015-07-26 13:54:53 +02:00
|
|
|
python boost qjson lm_sensors /* gpsd */ libraw1394 pciutils udev
|
2014-09-20 11:09:11 +02:00
|
|
|
akonadi pam libusb1 libqalculate kdepimlibs prison
|
|
|
|
kactivities
|
|
|
|
];
|
|
|
|
|
2015-09-27 17:11:01 +02:00
|
|
|
patches = [ ./files/ksysguard-0001-disable-signalplottertest.patch ];
|
2014-09-20 11:09:11 +02:00
|
|
|
|
|
|
|
preConfigure =
|
|
|
|
''
|
|
|
|
# Fix incorrect path to kde4-config.
|
|
|
|
substituteInPlace startkde.cmake --replace '$bindir/kde4-config' ${kdelibs}/bin/kde4-config
|
|
|
|
|
|
|
|
# Fix the path to the keyboard configuration files.
|
|
|
|
substituteInPlace kcontrol/keyboard/xkb_rules.cpp \
|
|
|
|
--replace /usr/share/X11 ${xkeyboard_config}/etc/X11
|
|
|
|
'';
|
|
|
|
|
2017-08-26 11:30:44 +02:00
|
|
|
NIX_CFLAGS_COMPILE = [ "-fpermissive" ]; # gcc-6
|
|
|
|
|
2014-09-20 11:09:11 +02:00
|
|
|
enableParallelBuilding = false; # frequent problems on Hydra
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "KDE workspace components such as Plasma, Kwin and System Settings";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|