<commit_before>{stdenv, fetchurl}:

stdenv.mkDerivation rec {
  name = "gawk-3.1.7";

  src = fetchurl {
    url = "mirror://gnu/gawk/${name}.tar.bz2";
    sha256 = "0wfyiqc28cxb5wjbdph4y33h1fdf56nj6cm7as546niwjsw7cazi";
  };

  doCheck = true;
<commit_msg>Disabling libsigsegv in gawk, because it makes me fail the 'Check'. This disables some kind of gawk useful output on segfault. I haven't found an easy way of getting gawk use a newer libsigsegv with that problem fixed. So I do like the fedora people: disable libsigsegv. (I don't know why this did not happen in the hydra machine. I could not build gawk)<commit_after>{stdenv, fetchurl}:

stdenv.mkDerivation rec {
  name = "gawk-3.1.7";

  src = fetchurl {
    url = "mirror://gnu/gawk/${name}.tar.bz2";
    sha256 = "0wfyiqc28cxb5wjbdph4y33h1fdf56nj6cm7as546niwjsw7cazi";
  };

  doCheck = true;

  # The libsigsegv provided with gawk has failing tests:
  # I did like in Fedora:
  # http://rpmfind.net//linux/RPM/fedora/devel/i386/gawk-3.1.7-2.fc13.i686.html
  configureFlags = "--disable-libsigsegv";

{'fraction_non_alphanumeric': 0.11581920903954802, 'fraction_numerical': 0.054613935969868174, 'mean_word_length': 3.831818181818182, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6518099', 'n_tokens_mistral': 447, 'n_tokens_neox': 409, 'n_words': 107}