<commit_before>{ stdenv, fetchurl, boost, emacs, gmp, makeWrapper
, tcl-8_5, tk-8_5
}:

let

  version = "2.0.0";

in stdenv.mkDerivation {
  name = "mozart-binary-${version}";

  src = fetchurl {
    url = "http://sourceforge.net/projects/mozart-oz/files/v${version}-alpha.0/mozart2-${version}-alpha.0+build.4105.5c06ced-x86_64-linux.tar.gz";
    sha256 = "0rsfrjimjxqbwprpzzlmydl3z3aiwg5qkb052jixdxjyad7gyh5z";
  };

  libPath = stdenv.lib.makeLibraryPath
    [ stdenv.cc.cc
      boost
      emacs
      gmp
      tcl-8_5
      tk-8_5<commit_msg>mozart: switch sf downloads to mirror://<commit_after>{ stdenv, fetchurl, boost, emacs, gmp, makeWrapper
, tcl-8_5, tk-8_5
}:

let

  version = "2.0.0";

in stdenv.mkDerivation {
  name = "mozart-binary-${version}";

  src = fetchurl {
    url = "mirror://sourceforge/projects/mozart-oz/files/v${version}-alpha.0/mozart2-${version}-alpha.0+build.4105.5c06ced-x86_64-linux.tar.gz";
    sha256 = "0rsfrjimjxqbwprpzzlmydl3z3aiwg5qkb052jixdxjyad7gyh5z";
  };

  libPath = stdenv.lib.makeLibraryPath
    [ stdenv.cc.cc
      boost
      emacs
      gmp
      tcl-8_5
      tk-8_5
{'fraction_non_alphanumeric': 0.14514692787177205, 'fraction_numerical': 0.06589492430988424, 'mean_word_length': 3.1784386617100373, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2263793', 'n_tokens_mistral': 529, 'n_tokens_neox': 495, 'n_words': 64}