mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
40 lines
1.3 KiB
Nix
40 lines
1.3 KiB
Nix
{ 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
|
|
}:
|
|
|
|
kde {
|
|
|
|
#todo: wayland, consolekit, xmms, opengles, libusb isn't found
|
|
buildInputs =
|
|
[ kdelibs qimageblitz libdbusmenu_qt xorg.libxcb xorg.xcbutilimage libjpeg
|
|
xorg.xcbutilrenderutil xorg.xcbutilkeysyms xorg.libpthreadstubs xorg.libXdmcp
|
|
xorg.libxkbfile xorg.libXcomposite xorg.libXtst
|
|
xorg.libXdamage
|
|
|
|
python boost qjson lm_sensors gpsd libraw1394 pciutils udev
|
|
akonadi pam libusb1 libqalculate kdepimlibs prison
|
|
kactivities
|
|
];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
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
|
|
'';
|
|
|
|
enableParallelBuilding = false; # frequent problems on Hydra
|
|
|
|
meta = {
|
|
description = "KDE workspace components such as Plasma, Kwin and System Settings";
|
|
license = "GPLv2";
|
|
};
|
|
}
|