mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
kate: use kdeWrapper
This commit is contained in:
parent
e824741a2d
commit
f66b4ca61d
1 changed files with 20 additions and 19 deletions
|
@ -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" ]; }
|
||||
|
|
Loading…
Reference in a new issue