<commit_before>{ fetchurl, stdenv, guile, guile-lib, libffi, pkgconfig, glib }:

let
  name = "${pname}-${version}";
  pname = "g-wrap";
  version = "1.9.15";
in stdenv.mkDerivation {
  inherit name;

  src = fetchurl {
    url = "mirror://savannah/${pname}/${name}.tar.gz";
    sha256 = "0ak0bha37dfpj9kmyw1r8fj8nva639aw5xr66wr5gd3l1rqf5xhg";
  };

  # Note: Glib support is optional, but it's quite useful (e.g., it's used by
  # Guile-GNOME).
  buildInputs = [ guile pkgconfig glib guile-lib ];

  propagatedBuildInputs = [ libffi ];

  doCheck = true;

  meta = with stdenv.lib; {
    description = "A wrapper generator for Guile";
    longDescription = ''
      G-Wrap is a tool (and Guile library) for generating function wrappers for
      inter-language calls.  It currently only supports generating Guile
      wrappers for C functions.
    '';
    homepage = "http://www.nongnu.org/g-wrap/";
    license = licenses.lgpl2Plus;
    maintainers = with maintainers; [ vyp ];
    platforms = platforms.linux;
  };
}
<commit_msg>gwrap: set version in mkDerivation<commit_after>{ fetchurl, stdenv, guile, guile-lib, libffi, pkgconfig, glib }:

stdenv.mkDerivation rec {
  name = "${pname}-${version}";
  pname = "g-wrap";
  version = "1.9.15";

  src = fetchurl {
    url = "mirror://savannah/${pname}/${name}.tar.gz";
    sha256 = "0ak0bha37dfpj9kmyw1r8fj8nva639aw5xr66wr5gd3l1rqf5xhg";
  };

  # Note: Glib support is optional, but it's quite useful (e.g., it's used by
  # Guile-GNOME).
  buildInputs = [ guile pkgconfig glib guile-lib ];

  propagatedBuildInputs = [ libffi ];

  doCheck = true;

  meta = with stdenv.lib; {
    description = "A wrapper generator for Guile";
    longDescription = ''
      G-Wrap is a tool (and Guile library) for generating function wrappers for
      inter-language calls.  It currently only supports generating Guile
      wrappers for C functions.
    '';
    homepage = "http://www.nongnu.org/g-wrap/";
    license = licenses.lgpl2Plus;
    maintainers = with maintainers; [ vyp ];
    platforms = platforms.linux;
  };
}

{'fraction_non_alphanumeric': 0.1286266924564797, 'fraction_numerical': 0.025145067698259187, 'mean_word_length': 3.257201646090535, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '667664', 'n_tokens_mistral': 777, 'n_tokens_neox': 745, 'n_words': 185}