<commit_before>{
  mkDerivation, extra-cmake-modules, kdoctools,
  kcmutils, kconfig, kdesu, ki18n, kiconthemes, kinit, kio, kwindowsystem,
  qtsvg, qtx11extras, kactivities, plasma-workspace
}:

mkDerivation {
  name = "kde-cli-tools";
  nativeBuildInputs = [ extra-cmake-modules kdoctools ];
  buildInputs = [
    kcmutils kconfig kdesu ki18n kiconthemes kinit kio kwindowsystem qtsvg
    qtx11extras kactivities plasma-workspace
  ];
}<commit_msg>plasma-5.kde-cli-tools: wrap kdesu to include kdeinit5 in PATH<commit_after>{
  lib, mkDerivation, extra-cmake-modules, kdoctools,
  kcmutils, kconfig, kdesu, ki18n, kiconthemes, kinit, kio, kwindowsystem,
  qtsvg, qtx11extras, kactivities, plasma-workspace
}:

mkDerivation {
  name = "kde-cli-tools";
  nativeBuildInputs = [ extra-cmake-modules kdoctools ];
  buildInputs = [
    kcmutils kconfig kdesu ki18n kiconthemes kinit kio kwindowsystem qtsvg
    qtx11extras kactivities plasma-workspace
  ];
  dontWrapQtApps = true;
  preFixup = ''
    for program in $out/bin/*; do
      wrapQtApp $program
    done

    # kdesu looks for kdeinit5 in PATH
    wrapQtApp $out/libexec/kf5/kdesu --suffix PATH : ${lib.getBin kinit}/bin
  '';
}
{'fraction_non_alphanumeric': 0.09865092748735245, 'fraction_numerical': 0.016863406408094434, 'mean_word_length': 4.160869565217391, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '660011', 'n_tokens_mistral': 474, 'n_tokens_neox': 447, 'n_words': 101}