3 extra-cmake-modules, kdoctools,
4 kactivities, kconfig, kcrash, kdbusaddons, kguiaddons, kiconthemes, ki18n,
5 kinit, kio, kitemmodels, kjobwidgets, knewstuff, knotifications, konsole,
6 kparts, ktexteditor, kwindowsystem, kwallet, kxmlgui, libgit2,
7 kuserfeedback, plasma-framework, qtscript, threadweaver, qtx11extras
13 homepage = "https://apps.kde.org/kate/";
14 description = "Advanced text editor";
15 license = with lib.licenses; [ gpl3 lgpl3 lgpl2 ];
16 maintainers = [ lib.maintainers.ttuegel ];
19 # InitialPreference values are too high and end up making kate &
20 # kwrite defaults for anything considered text/plain. Resetting to
21 # 1, which is the default.
23 substituteInPlace apps/kate/data/org.kde.kate.desktop \
24 --replace InitialPreference=9 InitialPreference=1
25 substituteInPlace apps/kwrite/data/org.kde.kwrite.desktop \
26 --replace InitialPreference=8 InitialPreference=1
29 nativeBuildInputs = [ extra-cmake-modules kdoctools ];
32 kactivities ki18n kio ktexteditor kwindowsystem plasma-framework
33 qtscript kconfig kcrash kguiaddons kiconthemes kinit kjobwidgets kparts
34 kxmlgui kdbusaddons kwallet kitemmodels knotifications threadweaver
35 knewstuff kuserfeedback qtx11extras
37 propagatedUserEnvPkgs = [ konsole ];