<commit_before>{ stdenv
, fetchurl

, atkmm
, cairomm
, gdk-pixbuf
, glibmm
, gtk3
, libepoxy
, pangomm
}:

let
  inherit (stdenv.lib)
    enFlag;
in

stdenv.mkDerivation rec {
  name = "gtkmm-${version}";
  versionMajor = "3.20";
  versionMinor = "0";
  version = "${versionMajor}.${versionMinor}";

  src = fetchurl {
    url = "mirror://gnome/sources/gtkmm/${versionMajor}/${name}.tar.xz";
    sha256 = "f021573f870df8a0b40ba37a7864c37be517c7a88cc957a193dbab28449b028a";
  };

  buildInputs = [
    atkmm
    cairomm
    gdk-pixbuf
    glibmm
    gtk3
    libepoxy
    pangomm
  ];

  configureFlags = [
    "--disable-maintainer-mode"
    "--disable-win32-backend"
    "--disable-quartz-backend"
    (enFlag "x11-backend" gtk3.x11_backend null)
    (enFlag "wayland-backend" gtk3.wayland_backend null)
    (enFlag "broadway-backend" gtk3.broadway_backend null)
    (enFlag "api-atkmm" (atkmm != null) null)
    # Requires deprecated api to build
    "--enable-deprecated-api"
    "--disable-documentation"
    "--enable-warnings"
    "--without-libstdc-doc"
    "--without-libsigc-doc"
    "--without-glibmm-doc"<commit_msg>gtkmm(3): 3.20.0 -> 3.20.1<commit_after>{ stdenv
, fetchurl

, atkmm
, cairomm
, gdk-pixbuf
, glibmm
, gtk3
, libepoxy
, pangomm
}:

let
  inherit (stdenv.lib)
    enFlag;
in

stdenv.mkDerivation rec {
  name = "gtkmm-${version}";
  versionMajor = "3.20";
  versionMinor = "1";
  version = "${versionMajor}.${versionMinor}";

  src = fetchurl {
    url = "mirror://gnome/sources/gtkmm/${versionMajor}/${name}.tar.xz";
    sha256Url = "mirror://gnome/sources/gtkmm/${versionMajor}/${name}.sha256sum";
    sha256 = "051de1b8756ca6ec61f26264338cfc3060af936fd70bf4558bfe1e115418c612";
  };

  buildInputs = [
    atkmm
    cairomm
    gdk-pixbuf
    glibmm
    gtk3
    libepoxy
    pangomm
  ];

  configureFlags = [
    "--disable-maintainer-mode"
    "--disable-win32-backend"
    "--disable-quartz-backend"
    (enFlag "x11-backend" gtk3.x11_backend null)
    (enFlag "wayland-backend" gtk3.wayland_backend null)
    (enFlag "broadway-backend" gtk3.broadway_backend null)
    (enFlag "api-atkmm" (atkmm != null) null)
    # Requires deprecated api to build
    "--enable-deprecated-api"
    "--disable-documentation"
    "--enable-warnings"
    "--without-libstdc-doc"
    "--without-libsigc-doc"
    "--without-glibmm-doc"
{'fraction_non_alphanumeric': 0.15014887282007655, 'fraction_numerical': 0.056997022543598466, 'mean_word_length': 3.1190893169877407, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '7120803', 'n_tokens_mistral': 1021, 'n_tokens_neox': 936, 'n_words': 145}