2 mkDerivation, lib, stdenv,
3 extra-cmake-modules, perl,
4 karchive, kconfig, kguiaddons, ki18n, kiconthemes, kio, kparts, libgit2,
5 qtscript, qtxmlpatterns, sonnet, syntax-highlighting, qtquickcontrols,
10 pname = "ktexteditor";
11 nativeBuildInputs = [ extra-cmake-modules perl ];
13 karchive kconfig kguiaddons ki18n kiconthemes kio libgit2 qtscript
14 qtxmlpatterns sonnet syntax-highlighting qtquickcontrols
17 propagatedBuildInputs = [ kparts ];
18 } // lib.optionalAttrs stdenv.isDarwin {
20 substituteInPlace src/part/CMakeLists.txt \
21 --replace "kpart.desktop" "${kparts}/share/kservicetypes5/kpart.desktop"