<commit_before>{ fetchgit, stdenv, gmp, which, flex, bison, makeWrapper
, autoconf, automake, libtool, openjdk, perl }:

stdenv.mkDerivation {
  name = "aldor-1.1.0";

  src = fetchgit {
    url = "https://github.com/pippijn/aldor";
    sha256 = "14xv3jl15ib2knsdz0bd7jx64zg1qrr33q5zcr8gli860ps8gkg3";
    rev = "f7b95835cf709654744441ddb1c515bfc2bec998";
  };

  buildInputs = [ gmp which flex bison makeWrapper autoconf automake libtool
                  openjdk perl ];

  preConfigure = ''
    cd aldor ;
    ./autogen.sh ;
  '';

  postInstall = ''
    for prog in aldor unicl javagen ;
    do
      wrapProgram $out/bin/$prog --set ALDORROOT $out \
        --prefix PATH : ${openjdk}/bin \
        --prefix PATH : ${stdenv.gcc}/bin ;
    done
  '';

  meta = {<commit_msg>aldor: update to 1.2.0 version in development.<commit_after>{ fetchgit, stdenv, gmp, which, flex, bison, makeWrapper
, autoconf, automake, libtool, openjdk, perl }:

stdenv.mkDerivation {
  name = "aldor-1.2.0";

  src = fetchgit {
    url = "https://github.com/pippijn/aldor";
    sha256 = "1l9fc2cgwabifwbijcp293abc8hcv40nzx2w31jkxh8n0plbiczn";
    rev = "15471e75f3d65b93150f414ebcaf59a03054b68d";
  };

  buildInputs = [ gmp which flex bison makeWrapper autoconf automake libtool
                  openjdk perl ];

  preConfigure = ''
    cd aldor ;
    ./autogen.sh ;
  '';

  postInstall = ''
    for prog in aldor unicl javagen ;
    do
      wrapProgram $out/bin/$prog --set ALDORROOT $out \
        --prefix PATH : ${openjdk}/bin \
        --prefix PATH : ${stdenv.gcc}/bin ;
    done
  '';

  meta = {
{'fraction_non_alphanumeric': 0.12460667086217747, 'fraction_numerical': 0.06419131529263687, 'mean_word_length': 2.7149532710280373, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5541304', 'n_tokens_mistral': 690, 'n_tokens_neox': 620, 'n_words': 126}