<commit_before>{ stdenv, fetchurl, pcre, libiconv ? null}:

let version = "2.10"; in

stdenv.mkDerivation ({
  name = "gnugrep-${version}";

  src = fetchurl {
    url = "mirror://gnu/grep/grep-${version}.tar.xz";
    sha256 = "1cvsqyfzk1p38fcaav22dn76fkd02g7bjnqna6vrpk9vy9rnfybc";
  };

  buildInputs = [ pcre ]<commit_msg>* gnugrep needs xz to unpack its sources.<commit_after>{ stdenv, fetchurl, pcre, libiconv ? null, xz }:

let version = "2.10"; in

stdenv.mkDerivation ({
  name = "gnugrep-${version}";

  src = fetchurl {
    url = "mirror://gnu/grep/grep-${version}.tar.xz";
    sha256 = "1cvsqyfzk1p38fcaav22dn76fkd02g7bjnqna6vrpk9vy9rnfybc";
  };

  buildInputs = [ pcre xz ]
{'fraction_non_alphanumeric': 0.15597667638483964, 'fraction_numerical': 0.05830903790087463, 'mean_word_length': 4.051470588235294, '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': '2252757', 'n_tokens_mistral': 327, 'n_tokens_neox': 302, 'n_words': 51}