<commit_before>{stdenv, fetchurl, ocaml, findlib, camomile, ounit}:

let
  ocaml_version = (builtins.parseDrvName ocaml.name).version;
  version = "1.3.0";
in

stdenv.mkDerivation {
  name = "ocaml-batteries-${version}";

  src = fetchurl {
    url = "http://forge.ocamlcore.org/frs/download.php/423/batteries-${version}.tar.gz";
    sha256 = "1kf8dyivigavi89lpsz7hzdv48as10yck7gkmqmnsnn1dps3m7an";
  };

  buildInputs = [ocaml findlib camomile ounit];
<commit_msg>ocaml batteries: fix download url<commit_after>{stdenv, fetchurl, ocaml, findlib, camomile, ounit}:

let
  ocaml_version = (builtins.parseDrvName ocaml.name).version;
in

stdenv.mkDerivation {
  name = "ocaml-batteries-1.3.0";

  src = fetchurl {
    url = "https://forge.ocamlcore.org/frs/download.php/560/batteries-1.3.0.tar.gz";
    sha256 = "1kf8dyivigavi89lpsz7hzdv48as10yck7gkmqmnsnn1dps3m7an";
  };

  buildInputs = [ocaml findlib camomile ounit];

{'fraction_non_alphanumeric': 0.13804347826086957, 'fraction_numerical': 0.051086956521739134, 'mean_word_length': 4.615853658536586, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6715139', 'n_tokens_mistral': 423, 'n_tokens_neox': 398, 'n_words': 56}