<commit_before>{ kdeFramework, lib, ecm, shared_mime_info }:

kdeFramework {
  name = "kcoreaddons";
  meta = { maintainers = [ lib.maintainers.ttuegel ]; };
  nativeBuildInputs = [ ecm ];
  propagatedBuildInputs = [ shared_mime_info ];
}<commit_msg>kde5.kcoreaddons: fix HTML injection CVE-2016-7966<commit_after>{ kdeFramework, lib, fetchurl, ecm, shared_mime_info }:

kdeFramework {
  name = "kcoreaddons";
  meta = { maintainers = [ lib.maintainers.ttuegel ]; };
  patches = [
    (fetchurl {
      url = "https://packaging.neon.kde.org/frameworks/kcoreaddons.git/plain/debian/patches/0001-Fix-very-old-bug-when-we-remove-space-in-url-as-foo-.patch?id=ab7258dd8a87668ba63c585a69f41f291254aa43";
      sha256 = "0svdqbikmslc0n2gdwwlbdyi61m5qgy0lxxv9iglbs3ja09xqs0p";
      name = "kcoreaddons-CVE-2016-7966.patch";
    })
  ];
  nativeBuildInputs = [ ecm ];
  propagatedBuildInputs = [ shared_mime_info ];
}
{'fraction_non_alphanumeric': 0.13626373626373625, 'fraction_numerical': 0.06923076923076923, 'mean_word_length': 4.455089820359281, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '3831534', 'n_tokens_mistral': 398, 'n_tokens_neox': 359, 'n_words': 43}