nixpkgs/pkgs/desktops/kde-5/plasma-5.6/plasma-workspace.nix

39 lines
1.4 KiB
Nix
Raw Normal View History

{ plasmaPackage, lib
2016-04-21 16:01:22 +00:00
, extra-cmake-modules, kdoctools
, baloo, kactivities, kcmutils, kconfig, kcrash, kdbusaddons, kdeclarative
, kdelibs4support, kdesu, kdewebkit, kglobalaccel, kidletime, kjsembed, knewstuff
, knotifyconfig, kpackage, krunner, ktexteditor, ktextwidgets, kwallet, kwayland
, kwin, kxmlrpcclient, libdbusmenu, libkscreen, libksysguard, libSM, libXcursor
, networkmanager-qt, pam, phonon, plasma-framework, qtquick1, qtquickcontrols
, qtscript, qtx11extras, solid, wayland
2016-04-21 16:01:22 +00:00
}:
plasmaPackage {
name = "plasma-workspace";
nativeBuildInputs = [
extra-cmake-modules
kdoctools
];
propagatedBuildInputs = [
baloo kactivities kcmutils kconfig kcrash kdbusaddons kdeclarative
kdelibs4support kdesu kdewebkit kglobalaccel kidletime kjsembed knewstuff
knotifyconfig kpackage krunner ktexteditor ktextwidgets kwallet kwayland
kwin kxmlrpcclient libdbusmenu libkscreen libksysguard libSM libXcursor
networkmanager-qt pam phonon plasma-framework qtquick1 qtquickcontrols
qtscript qtx11extras solid wayland
2016-04-21 16:01:22 +00: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"
'';
}