<commit_before>{stdenv, fetchurl, libjpeg, libpng, zlib}:

stdenv.mkDerivation {
  name = "ghostscript-8.15";
  builder = ./builder.sh;
  
  src = fetchurl {
    url = ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs815/ghostscript-8.15.tar.bz2;
    md5 = "ab8502f30629b730e0c9ca56b88a6b9d";
  };

  fonts = [
    (fetchurl {
      url = ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs815/ghostscript-fonts-std-8.11.tar.gz;
      md5 = "6865682b095f8c4500c54b285ff05ef6";
    })
    # ... add other fonts here
  ];

  buildInputs = [libjpeg libpng zlib];

  configureFlags = "--without-x";
}<commit_msg>* Use sourceforge (more stable).<commit_after>{stdenv, fetchurl, libjpeg, libpng, zlib}:

stdenv.mkDerivation {
  name = "ghostscript-8.15";
  builder = ./builder.sh;
  
  src = fetchurl {
    url = http://heanet.dl.sourceforge.net/sourceforge/ghostscript/ghostscript-8.15.tar.bz2;
    md5 = "ab8502f30629b730e0c9ca56b88a6b9d";
  };

  fonts = [
    (fetchurl {
      url = http://heanet.dl.sourceforge.net/sourceforge/ghostscript/ghostscript-fonts-std-8.11.tar.gz;
      md5 = "6865682b095f8c4500c54b285ff05ef6";
    })
    # ... add other fonts here
  ];

  buildInputs = [libjpeg libpng zlib];

  configureFlags = "--without-x";
}
{'fraction_non_alphanumeric': 0.1549636803874092, 'fraction_numerical': 0.09362389023405973, 'mean_word_length': 3.1333333333333333, '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': '799281', 'n_tokens_mistral': 593, 'n_tokens_neox': 518, 'n_words': 68}