Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 23 lines 738 B view raw
1{ 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, 6 editorconfig-core-c 7}: 8 9mkDerivation ({ 10 pname = "ktexteditor"; 11 nativeBuildInputs = [ extra-cmake-modules perl ]; 12 buildInputs = [ 13 karchive kconfig kguiaddons ki18n kiconthemes kio libgit2 qtscript 14 qtxmlpatterns sonnet syntax-highlighting qtquickcontrols 15 editorconfig-core-c 16 ]; 17 propagatedBuildInputs = [ kparts ]; 18} // lib.optionalAttrs stdenv.isDarwin { 19 postPatch = '' 20 substituteInPlace src/part/CMakeLists.txt \ 21 --replace "kpart.desktop" "${kparts}/share/kservicetypes5/kpart.desktop" 22 ''; 23})