<commit_before>/**
 * This Nix expression requires the user to download the jdk
 * distribution to /tmp. Please obtain jdk-1_5_0_05-linux-i586.bin
 * from java.sun.com by hand and place it in /tmp. Blame Sun, not me.
 *
 * Note that this is not necessary if someone has already pushed a
 * binary.
 *
 * @author <NAME> <<EMAIL>>
 */
{ swingSupport ? true
, stdenv, fetchurl, unzip, libX11 ? null, libXext ? null
}:

assert stdenv.system == "i686-linux";

assert swingSupport -> libX11 != null && libXext != null;

(stdenv.mkDerivation {
  name = "jdk-1.5.0";
  builder = ./builder.sh;
  filename = "jdk-1_5_0_05";
  dirname = "jdk1.5.0_05";
  pathname = "/tmp/jdk-1_5_0_05-linux-i586.bin";
  md5 = "2f83bf2a38fff1f8ac51b02ec7391ca3";
  buildInputs = [unzip];
  libraries =
    (if swingSupport then [libX11 libXext] else []);
} // {inherit swingSupport;})
<commit_msg>update to jdk-1_5_0_06-linux-i586.bin<commit_after>/**
 * This Nix expression requires the user to download the jdk
 * distribution to /tmp. Please obtain jdk-1_5_0_06-linux-i586.bin
 * from java.sun.com by hand and place it in /tmp. Blame Sun, not me.
 *
 * Note that this is not necessary if someone has already pushed a
 * binary.
 *
 * @author <NAME> <<EMAIL>>
 */
{ swingSupport ? true
, stdenv, fetchurl, unzip, libX11 ? null, libXext ? null
}:

assert stdenv.system == "i686-linux";

assert swingSupport -> libX11 != null && libXext != null;

(stdenv.mkDerivation {
  name = "jdk-1.5.0";
  builder = ./builder.sh;
  filename = "jdk-1_5_0_06";
  dirname = "jdk1.5.0_06";
  pathname = "/tmp/jdk-1_5_0_06-linux-i586.bin";
  md5 = "3cdad4a383b93680f02f6f06198c2227";
  buildInputs = [unzip];
  libraries =
    (if swingSupport then [libX11 libXext] else []);
} // {inherit swingSupport;})

{'fraction_non_alphanumeric': 0.1409090909090909, 'fraction_numerical': 0.07102272727272728, 'mean_word_length': 3.622047244094488, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1685170', 'n_tokens_mistral': 730, 'n_tokens_neox': 684, 'n_words': 178}