2016-07-15 07:59:21 -07:00
|
|
|
{
|
2017-05-15 09:44:58 -07:00
|
|
|
mkDerivation, lib, copyPathsToStore,
|
2016-07-15 07:59:21 -07:00
|
|
|
|
2017-02-26 04:49:15 -08:00
|
|
|
extra-cmake-modules, kdoctools,
|
2016-07-15 07:59:21 -07:00
|
|
|
|
2017-06-18 01:59:15 -07:00
|
|
|
isocodes, libdbusmenu, libSM, libXcursor, libXtst, pam, wayland,
|
2017-05-26 13:44:36 -07:00
|
|
|
|
2016-07-15 07:59:21 -07:00
|
|
|
baloo, kactivities, kcmutils, kconfig, kcrash, kdbusaddons, kdeclarative,
|
|
|
|
kdelibs4support, kdesu, kglobalaccel, kidletime, kjsembed, knewstuff,
|
2017-05-26 13:44:36 -07:00
|
|
|
knotifyconfig, kpackage, krunner, kscreenlocker, ktexteditor, ktextwidgets,
|
|
|
|
kwallet, kwayland, kwin, kxmlrpcclient, libkscreen, libksysguard,
|
|
|
|
networkmanager-qt, phonon, plasma-framework, prison, solid,
|
|
|
|
|
|
|
|
qtgraphicaleffects, qtquickcontrols, qtquickcontrols2, qtscript, qtx11extras,
|
2016-04-21 09:01:22 -07:00
|
|
|
}:
|
|
|
|
|
2017-05-15 09:44:58 -07:00
|
|
|
mkDerivation {
|
2016-04-21 09:01:22 -07:00
|
|
|
name = "plasma-workspace";
|
|
|
|
|
2017-02-26 04:49:15 -08:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2016-06-08 08:26:24 -07:00
|
|
|
buildInputs = [
|
2017-06-18 01:59:15 -07:00
|
|
|
isocodes libdbusmenu libSM libXcursor libXtst pam wayland
|
2017-06-23 07:55:04 -07:00
|
|
|
|
2016-04-27 04:55:21 -07:00
|
|
|
baloo kactivities kcmutils kconfig kcrash kdbusaddons kdeclarative
|
2016-05-10 18:09:26 -07:00
|
|
|
kdelibs4support kdesu kglobalaccel kidletime kjsembed knewstuff
|
2017-05-26 13:44:36 -07:00
|
|
|
knotifyconfig kpackage krunner kscreenlocker ktexteditor ktextwidgets
|
|
|
|
kwallet kwayland kwin kxmlrpcclient libkscreen libksysguard
|
|
|
|
networkmanager-qt phonon plasma-framework prison solid
|
|
|
|
|
|
|
|
qtgraphicaleffects qtquickcontrols qtquickcontrols2 qtscript qtx11extras
|
2016-04-21 09:01:22 -07:00
|
|
|
];
|
2017-05-26 13:44:36 -07:00
|
|
|
outputs = [ "out" "dev" "bin" ];
|
2016-04-21 09:01:22 -07:00
|
|
|
|
2016-04-28 11:17:49 -07:00
|
|
|
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
|
|
|
|
2016-04-21 09:01:22 -07:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace startkde/kstartupconfig/kstartupconfig.cpp \
|
2017-05-26 13:44:36 -07:00
|
|
|
--replace kdostartupconfig5 ''${!outputBin}/bin/kdostartupconfig5
|
2016-04-21 09:01:22 -07:00
|
|
|
'';
|
|
|
|
|
|
|
|
postInstall = ''
|
2017-05-26 13:44:36 -07:00
|
|
|
rm "''${!outputBin}/bin/startkde"
|
|
|
|
rm "''${!outputBin}/bin/startplasmacompositor"
|
|
|
|
rm "''${!outputLib}/lib/libexec/startplasma"
|
|
|
|
rm -r "''${!outputBin}/share/wayland-sessions"
|
2016-04-21 09:01:22 -07:00
|
|
|
'';
|
|
|
|
}
|