2015-10-08 18:15:59 -07:00
|
|
|
{ plasmaPackage, substituteAll, extra-cmake-modules, kdoctools
|
|
|
|
, attica, baloo, boost, fontconfig, kactivities, kauth, kcmutils
|
|
|
|
, kdbusaddons, kdeclarative, kded, kdelibs4support, kemoticons
|
|
|
|
, kglobalaccel, ki18n, kitemmodels, knewstuff, knotifications
|
|
|
|
, knotifyconfig, kpeople, krunner, kwallet, kwin, phonon
|
|
|
|
, plasma-framework, plasma-workspace, qtdeclarative, qtx11extras
|
|
|
|
, qtsvg, libXcursor, libXft, libxkbfile, xf86inputevdev
|
|
|
|
, xf86inputsynaptics, xinput, xkeyboard_config, xorgserver
|
|
|
|
, libcanberra_kde, libpulseaudio, utillinux
|
2015-09-27 08:03:00 -07:00
|
|
|
}:
|
|
|
|
|
2015-09-29 14:58:59 -07:00
|
|
|
plasmaPackage {
|
2015-09-27 08:03:00 -07:00
|
|
|
name = "plasma-desktop";
|
|
|
|
nativeBuildInputs = [
|
|
|
|
extra-cmake-modules
|
|
|
|
kdoctools
|
|
|
|
];
|
|
|
|
buildInputs = [
|
2015-10-10 10:30:20 -07:00
|
|
|
attica boost fontconfig kcmutils kdbusaddons kded kitemmodels
|
2015-10-10 10:31:55 -07:00
|
|
|
knewstuff knotifications knotifyconfig kwallet kwin
|
2015-10-10 10:30:20 -07:00
|
|
|
libcanberra_kde libXcursor libpulseaudio libXft libxkbfile phonon
|
2015-10-10 10:45:57 -07:00
|
|
|
plasma-workspace qtdeclarative qtx11extras qtsvg
|
2015-10-10 10:30:20 -07:00
|
|
|
xf86inputevdev xf86inputsynaptics xkeyboard_config xinput
|
2015-09-27 08:03:00 -07:00
|
|
|
];
|
2015-10-10 09:20:49 -07:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
baloo kactivities kauth kdeclarative kdelibs4support kemoticons
|
2015-10-10 10:45:57 -07:00
|
|
|
kglobalaccel ki18n kpeople krunner plasma-framework
|
2015-10-10 09:20:49 -07:00
|
|
|
];
|
2015-09-27 08:03:00 -07:00
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./0001-hwclock.patch;
|
|
|
|
hwclock = "${utillinux}/sbin/hwclock";
|
|
|
|
})
|
|
|
|
./0002-zoneinfo.patch
|
|
|
|
];
|
|
|
|
NIX_CFLAGS_COMPILE = [ "-I${xorgserver}/include/xorg" ];
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DEvdev_INCLUDE_DIRS=${xf86inputevdev}/include/xorg"
|
|
|
|
"-DSynaptics_INCLUDE_DIRS=${xf86inputsynaptics}/include/xorg"
|
|
|
|
];
|
|
|
|
postInstall = ''
|
|
|
|
wrapKDEProgram "$out/bin/kaccess"
|
|
|
|
wrapKDEProgram "$out/bin/solid-action-desktop-gen"
|
|
|
|
wrapKDEProgram "$out/bin/knetattach"
|
|
|
|
wrapKDEProgram "$out/bin/krdb"
|
|
|
|
wrapKDEProgram "$out/bin/kapplymousetheme"
|
|
|
|
wrapKDEProgram "$out/bin/kfontinst"
|
|
|
|
wrapKDEProgram "$out/bin/kcm-touchpad-list-devices"
|
|
|
|
wrapKDEProgram "$out/bin/kfontview"
|
|
|
|
'';
|
|
|
|
}
|