<commit_before>{stdenv, fetchurl, unzip, jre, ...}:

stdenv.mkDerivation rec {
    version = "2.5.1";
    name = "jbake-${version}";
    src = fetchurl {
        url = "http://jbake.org/files/jbake-${version}-bin.zip";
        sha256="1r46y84q5x915055hx2vxydaqng3cz0clwz0yhwapgmi4sliygjd";
    };

    buildInputs = [ unzip jre ];

    unpackPhase = "unzip ${src}";

    installPhase = ''
        substituteInPlace $name/bin/jbake --replace "java" "${jre}/bin/java" 
        mkdir -p $out
        cp -r $name/* $out
    '';

    meta = with stdenv; {
        description = "JBake is a Java based, open source, static site/blog generator for developers & designers";
        homepage = "http://jbake.org/";
        license = lib.licenses.mit;
        maintainers = with lib.maintainers; [moaxcp];
    };
}<commit_msg>jbake: cleanup<commit_after>{ stdenv, fetchzip, jre }:

stdenv.mkDerivation rec {
  version = "2.5.1";
  name = "jbake-${version}";

  src = fetchzip {
    url = "http://jbake.org/files/jbake-${version}-bin.zip";
    sha256 = "1ib5gvz6sl7k0ywx22anhz69i40wc6jj5lxjxj2aa14qf4lrw912";
  };

  buildInputs = [ jre ];

  installPhase = ''
    substituteInPlace bin/jbake --replace "java" "${jre}/bin/java" 
    mkdir -p $out
    cp -vr * $out
  '';

  meta = with stdenv.lib; {
    description = "JBake is a Java based, open source, static site/blog generator for developers & designers";
    homepage = "http://jbake.org/";
    license = licenses.mit;
    maintainers = with maintainers; [ moaxcp ];
  };
}
{'fraction_non_alphanumeric': 0.152832674571805, 'fraction_numerical': 0.032279314888010543, 'mean_word_length': 2.7880299251870326, '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': '5382700', 'n_tokens_mistral': 600, 'n_tokens_neox': 559, 'n_words': 115}