<commit_before>{ stdenv, fetchFromGitHub, ocaml, findlib, dune
, bos, cmdliner, doc-ock-html, doc-ock-xml
}:

stdenv.mkDerivation rec {
  name = "ocaml${ocaml.version}-odoc-${version}";
  version = "1.2.0";
  src = fetchFromGitHub {
    owner = "ocaml";
    repo = "odoc";
    rev = "v${version}";
    sha256 = "0ixnhfpm1nw4bvjj8qhcyy283pdr5acqpg5wxwq3n1l4mad79cgh";
  };

  buildInputs = [ ocaml findlib dune cmdliner ];

  propagatedBuildInputs = [ bos doc-ock-html doc-ock-xml ];

  inherit (dune) installPhase;
<commit_msg>ocamlPackages.odoc: fix resolution of odoc.css<commit_after>{ stdenv, fetchFromGitHub, ocaml, findlib, dune
, bos, cmdliner, doc-ock-html, doc-ock-xml
}:

stdenv.mkDerivation rec {
  name = "ocaml${ocaml.version}-odoc-${version}";
  version = "1.2.0";
  src = fetchFromGitHub {
    owner = "ocaml";
    repo = "odoc";
    rev = "v${version}";
    sha256 = "0ixnhfpm1nw4bvjj8qhcyy283pdr5acqpg5wxwq3n1l4mad79cgh";
  };

  buildInputs = [ ocaml findlib dune cmdliner ];

  propagatedBuildInputs = [ bos doc-ock-html doc-ock-xml ];

  configurePhase = "ocaml bin/set-etc bin/odoc_etc.ml $out/etc/odoc";

  inherit (dune) installPhase;

{'fraction_non_alphanumeric': 0.14507772020725387, 'fraction_numerical': 0.03454231433506045, 'mean_word_length': 4.039130434782609, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '3010271', 'n_tokens_mistral': 503, 'n_tokens_neox': 477, 'n_words': 85}