<commit_before>{ lib, stdenv, fetchurl, pkg-config, gtkmm3, glibmm, gtksourceview3, gnome }:

stdenv.mkDerivation rec {
  pname = "gtksourceviewmm";
  version = "3.21.3";

  src = fetchurl {
    url = "mirror://gnome/sources/gtksourceviewmm/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
    sha256 = "1danc9mp5mnb65j01qxkwj92z8jf1gns41wbgp17qh7050f0pc6v";
  };

  passthru = {
    updateScript = gnome.updateScript {
      packageName = "gtksourceviewmm";
      versionPolicy = "none";
    };
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ glibmm gtkmm3 gtksourceview3 ];

  meta = with lib; {
    platforms = platforms.unix;
    homepage = "https://developer.gnome.org/gtksourceviewmm/";
    description = "C++ wrapper for gtksourceview";
    license = licenses.lgpl2;
    maintainers = [ maintainers.juliendehos ];
  };
}

<commit_msg>gtksourceviewmm.updateScript: freze at 3.0 ABI version<commit_after>{ lib, stdenv, fetchurl, pkg-config, gtkmm3, glibmm, gtksourceview3, gnome }:

stdenv.mkDerivation rec {
  pname = "gtksourceviewmm";
  version = "3.21.3";

  src = fetchurl {
    url = "mirror://gnome/sources/gtksourceviewmm/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
    sha256 = "1danc9mp5mnb65j01qxkwj92z8jf1gns41wbgp17qh7050f0pc6v";
  };

  passthru = {
    updateScript = gnome.updateScript {
      packageName = "gtksourceviewmm";
      versionPolicy = "none";
      freeze = true;
    };
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ glibmm gtkmm3 gtksourceview3 ];

  meta = with lib; {
    platforms = platforms.unix;
    homepage = "https://developer.gnome.org/gtksourceviewmm/";
    description = "C++ wrapper for gtksourceview";
    license = licenses.lgpl2;
    maintainers = [ maintainers.juliendehos ];
  };
}


{'fraction_non_alphanumeric': 0.13485016648168702, 'fraction_numerical': 0.03773584905660377, 'mean_word_length': 3.6589147286821704, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5708886', 'n_tokens_mistral': 717, 'n_tokens_neox': 680, 'n_words': 109}