kate: use kdeWrapper

This commit is contained in:
Thomas Tuegel 2016-07-30 17:29:25 -05:00
parent e824741a2d
commit f66b4ca61d

View file

@ -1,26 +1,27 @@
{
kdeApp, lib, makeQtWrapper, ecm, kdoctools,
kdeApp, lib, kdeWrapper,
ecm, kdoctools,
kactivities, kconfig, kcrash, kguiaddons, kiconthemes, ki18n, kinit,
kjobwidgets, kio, kparts, ktexteditor, kwindowsystem, kxmlgui, kdbusaddons,
kwallet, plasma-framework, kitemmodels, knotifications, qtscript,
threadweaver, knewstuff, libgit2
}:
kdeApp {
name = "kate";
meta = {
license = with lib.licenses; [ gpl3 lgpl3 lgpl2 ];
maintainers = [ lib.maintainers.ttuegel ];
};
nativeBuildInputs = [ ecm kdoctools makeQtWrapper ];
propagatedBuildInputs = [
kactivities ki18n kio ktexteditor kwindowsystem plasma-framework qtscript
kconfig kcrash kguiaddons kiconthemes kinit kjobwidgets kparts kxmlgui
kdbusaddons kwallet kitemmodels knotifications threadweaver knewstuff
libgit2
];
postInstall = ''
wrapQtProgram "$out/bin/kate"
wrapQtProgram "$out/bin/kwrite"
'';
}
let
unwrapped =
kdeApp {
name = "kate";
meta = {
license = with lib.licenses; [ gpl3 lgpl3 lgpl2 ];
maintainers = [ lib.maintainers.ttuegel ];
};
nativeBuildInputs = [ ecm kdoctools ];
propagatedBuildInputs = [
kactivities ki18n kio ktexteditor kwindowsystem plasma-framework
qtscript kconfig kcrash kguiaddons kiconthemes kinit kjobwidgets kparts
kxmlgui kdbusaddons kwallet kitemmodels knotifications threadweaver
knewstuff libgit2
];
};
in
kdeWrapper unwrapped { targets = [ "bin/kate" "bin/kwrite" ]; }