Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 87 lines 1.6 kB view raw
1{ 2 mkDerivation, 3 lib, 4 extra-cmake-modules, 5 kdoctools, 6 kactivities, 7 kconfig, 8 kcrash, 9 kdbusaddons, 10 kguiaddons, 11 kiconthemes, 12 ki18n, 13 kinit, 14 kio, 15 kitemmodels, 16 kjobwidgets, 17 knewstuff, 18 knotifications, 19 konsole, 20 kparts, 21 ktexteditor, 22 kwindowsystem, 23 kwallet, 24 kxmlgui, 25 libgit2, 26 kuserfeedback, 27 plasma-framework, 28 qtscript, 29 threadweaver, 30 qtx11extras, 31}: 32 33mkDerivation { 34 pname = "kate"; 35 meta = { 36 homepage = "https://apps.kde.org/kate/"; 37 description = "Advanced text editor"; 38 license = with lib.licenses; [ 39 gpl3 40 lgpl3 41 lgpl2 42 ]; 43 maintainers = [ lib.maintainers.ttuegel ]; 44 }; 45 46 # InitialPreference values are too high and end up making kate & 47 # kwrite defaults for anything considered text/plain. Resetting to 48 # 1, which is the default. 49 postPatch = '' 50 substituteInPlace apps/kate/data/org.kde.kate.desktop \ 51 --replace InitialPreference=9 InitialPreference=1 52 substituteInPlace apps/kwrite/data/org.kde.kwrite.desktop \ 53 --replace InitialPreference=8 InitialPreference=1 54 ''; 55 56 nativeBuildInputs = [ 57 extra-cmake-modules 58 kdoctools 59 ]; 60 buildInputs = [ 61 libgit2 62 kactivities 63 ki18n 64 kio 65 ktexteditor 66 kwindowsystem 67 plasma-framework 68 qtscript 69 kconfig 70 kcrash 71 kguiaddons 72 kiconthemes 73 kinit 74 kjobwidgets 75 kparts 76 kxmlgui 77 kdbusaddons 78 kwallet 79 kitemmodels 80 knotifications 81 threadweaver 82 knewstuff 83 kuserfeedback 84 qtx11extras 85 ]; 86 propagatedUserEnvPkgs = [ konsole ]; 87}