<commit_before>{ mkDerivation, lib, cmake, pkg-config }:

mkDerivation {
  pname = "extra-cmake-modules";

  patches = [
    ./nix-lib-path.patch
  ];

  outputs = [ "out" ];  # this package has no runtime components

  propagatedBuildInputs = [ cmake pkg-config ];

  setupHook = ./setup-hook.sh;

  meta = with lib; {
    platforms = platforms.linux ++ platforms.darwin;
    homepage = "http://www.kde.org";
    license = licenses.bsd2;
  };
}<commit_msg>extra-cmake-modules: fix paths in generated pkg-config files<commit_after>{ mkDerivation, lib, fetchpatch, cmake, pkg-config }:

mkDerivation {
  pname = "extra-cmake-modules";

  patches = [
    ./nix-lib-path.patch
    # https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/268
    (fetchpatch {
      url = "https://invent.kde.org/frameworks/extra-cmake-modules/-/commit/5862a6f5b5cd7ed5a7ce2af01e44747c36318220.patch";
      sha256 = "10y36fc3hnpmcsmjgfxn1rp4chj5yrhgghj7m8gbmcai1q5jr0xj";
    })
  ];

  outputs = [ "out" ];  # this package has no runtime components

  propagatedBuildInputs = [ cmake pkg-config ];

  setupHook = ./setup-hook.sh;

  meta = with lib; {
    platforms = platforms.linux ++ platforms.darwin;
    homepage = "http://www.kde.org";
    license = licenses.bsd2;
  };
}
{'fraction_non_alphanumeric': 0.1419607843137255, 'fraction_numerical': 0.03686274509803922, 'mean_word_length': 3.2962962962962963, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1920483', 'n_tokens_mistral': 503, 'n_tokens_neox': 464, 'n_words': 79}