konsole: use kdeWrapper

This commit is contained in:
Thomas Tuegel 2016-07-30 17:38:39 -05:00
parent 4805d008e4
commit 4e5dfd0d2a

View File

@ -1,25 +1,27 @@
{
kdeApp, lib,
ecm, kdoctools, makeQtWrapper,
kdeApp, lib, kdeWrapper,
ecm, kdoctools,
kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kguiaddons,
ki18n, kiconthemes, kinit, kdelibs4support, kio, knotifications,
knotifyconfig, kparts, kpty, kservice, ktextwidgets, kwidgetsaddons,
kwindowsystem, kxmlgui, qtscript
}:
kdeApp {
name = "konsole";
meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
maintainers = [ lib.maintainers.ttuegel ];
};
nativeBuildInputs = [ ecm kdoctools makeQtWrapper ];
propagatedBuildInputs = [
kdelibs4support ki18n kwindowsystem qtscript kbookmarks kcompletion kconfig
kconfigwidgets kcoreaddons kguiaddons kiconthemes kinit kio knotifications
knotifyconfig kparts kpty kservice ktextwidgets kwidgetsaddons kxmlgui
];
postInstall = ''
wrapQtProgram "$out/bin/konsole"
'';
}
let
unwrapped =
kdeApp {
name = "konsole";
meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
maintainers = [ lib.maintainers.ttuegel ];
};
nativeBuildInputs = [ ecm kdoctools ];
propagatedBuildInputs = [
kdelibs4support ki18n kwindowsystem qtscript kbookmarks kcompletion
kconfig kconfigwidgets kcoreaddons kguiaddons kiconthemes kinit kio
knotifications knotifyconfig kparts kpty kservice ktextwidgets
kwidgetsaddons kxmlgui
];
};
in
kdeWrapper unwrapped { targets = [ "bin/konsole" ]; }