<commit_before>{ stdenv
, fetchurl
, lib

, glib
, gobject-introspection
, libgpg-error
, zlib
}:

let
  inherit (lib)
    boolEn;

  channel = "3.2";
  version = "${channel}.0";
in
stdenv.mkDerivation rec {
  name = "gmime-${version}";

  src = fetchurl {
    url = "mirror://gnome/sources/gmime/${channel}/${name}.tar.xz";
    hashOutput = false;
    sha256 = "75ec6033f9192488ff37745792c107b3d0ab0a36c2d3e4f732901a771755d7e0";
  };

  buildInputs = [
    glib
    gobject-introspection
    libgpg-error
    zlib
  ];

  configureFlags = [
    "--disable-maintainer-mode"
    "--disable-gtk-doc"
    "--disable-gtk-doc-html"
    "--disable-gtk-doc-pdf"
    "--disable-profiling"
    "--disable-warnings"
    "--disable-glibtest"
    "--enable-largefile"
    "--${boolEn (libgpg-error != null)}-crypto"
    "--${boolEn (gobject-introspection != null)}-introspection"
    "--disable-vala"
    "--disable-coverage"
    #--with-libiconv=
    #--with-gpgme-prefix=
    #--with-libidn=
  ];

  passthru = {
    srcVerification = fetchurl {
      inherit (src)
        outputHash
        outputHashAlgo
        urls;
      sha256Url = "https://download.gnome.org/sources/gmime/${channel}/"
        + "${name}.sha256sum";
      failEarly = true;
    };
  };

  meta = with lib; {
    description = "A C/C++ library for manipulating MIME messages";
    homepage = http://spruce.sourceforge.net/gmime/;
    license = licenses.lgpl2;
    maintainers = with maintainers; [
      codyopel
      wkennington
    ];
    platforms = with platforms;
      x86_64-linux;
  };
}<commit_msg>gmime: 3.2.0 -> 3.2.3<commit_after>{ stdenv
, fetchurl
, lib
, vala

, glib
, gobject-introspection
, libgpg-error
, libidn
, zlib
}:

let
  channel = "3.2";
  version = "${channel}.3";
in
stdenv.mkDerivation rec {
  name = "gmime-${version}";

  src = fetchurl {
    url = "mirror://gnome/sources/gmime/${channel}/${name}.tar.xz";
    hashOutput = false;
    sha256 = "6a0875eeb552ab447dd54853a68ced62217d863631048737dd97eaa2713e7311";
  };

  nativeBuildInputs = [
    vala
  ];

  buildInputs = [
    glib
    gobject-introspection
    libgpg-error
    libidn
    zlib
  ];

  configureFlags = [
    "--disable-maintainer-mode"
    "--enable-crypto"
    "--enable-introspection"
    "--enable-vala"
  ];

  passthru = {
    srcVerification = fetchurl {
      inherit (src)
        outputHash
        outputHashAlgo
        urls;
      fullOpts = {
        sha256Urls =
          map (u: lib.replaceStrings ["tar.xz"] ["sha256sum"] u) src.urls;
      };
      failEarly = true;
    };
  };

  meta = with lib; {
    description = "A C/C++ library for manipulating MIME messages";
    homepage = http://spruce.sourceforge.net/gmime/;
    license = licenses.lgpl2;
    maintainers = with maintainers; [
      codyopel
      wkennington
    ];
    platforms = with platforms;
      x86_64-linux;
  };
}
{'fraction_non_alphanumeric': 0.1475295755045233, 'fraction_numerical': 0.04558107167710508, 'mean_word_length': 2.4226190476190474, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2211001', 'n_tokens_mistral': 1159, 'n_tokens_neox': 1062, 'n_words': 177}