3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/plasma-5/plasma-workspace/default.nix

41 lines
1.4 KiB
Nix
Raw Normal View History

2016-07-15 15:59:21 +01:00
{
plasmaPackage, lib, copyPathsToStore,
2016-07-30 15:36:52 +01:00
ecm, kdoctools,
2016-07-15 15:59:21 +01:00
baloo, kactivities, kcmutils, kconfig, kcrash, kdbusaddons, kdeclarative,
kdelibs4support, kdesu, kglobalaccel, kidletime, kjsembed, knewstuff,
2016-10-05 03:31:47 +01:00
knotifyconfig, kpackage, krunner, ktexteditor, ktextwidgets, kwallet,
kwayland, kwin, kxmlrpcclient, libkscreen, libksysguard, networkmanager-qt,
phonon, plasma-framework, qtgraphicaleffects, qtquickcontrols, qtscript,
qtx11extras, solid, isocodes, libdbusmenu, libSM, libXcursor, pam, wayland
2016-04-21 17:01:22 +01:00
}:
plasmaPackage {
name = "plasma-workspace";
2016-07-17 21:42:41 +01:00
nativeBuildInputs = [ ecm kdoctools ];
buildInputs = [
baloo kactivities kcmutils kconfig kcrash kdbusaddons kdeclarative
kdelibs4support kdesu kglobalaccel kidletime kjsembed knewstuff
knotifyconfig kpackage krunner ktexteditor ktextwidgets kwallet kwayland
kwin kxmlrpcclient libkscreen libksysguard networkmanager-qt phonon
2016-10-05 03:31:47 +01:00
plasma-framework qtgraphicaleffects qtquickcontrols qtscript qtx11extras
solid isocodes libdbusmenu libSM libXcursor pam wayland
2016-04-21 17:01:22 +01:00
];
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
2016-04-21 17:01:22 +01:00
postPatch = ''
substituteInPlace startkde/kstartupconfig/kstartupconfig.cpp \
--replace kdostartupconfig5 $out/bin/kdostartupconfig5
'';
postInstall = ''
rm "$out/bin/startkde"
rm "$out/bin/startplasmacompositor"
rm "$out/lib/libexec/startplasma"
rm -r "$out/share/wayland-sessions"
'';
}