<commit_before>{ stdenv, fetchurl, ocaml }:

stdenv.mkDerivation {
  pname = "bibtex2html";
  version = "1.99";

  src = fetchurl {
    url = "https://www.lri.fr/~filliatr/ftp/bibtex2html/bibtex2html-1.99.tar.gz";
    sha256 = "07gzrs4lfrkvbn48cgn2gn6c7cx3jsanakkrb2irj0gmjzfxl96j";
  };

  buildInputs = [ ocaml ];

  meta = with stdenv.lib; {
    description = "A collection of tools for translating from BibTeX to HTML";
    homepage = "https://www.lri.fr/~filliatr/bibtex2html/";
    license = licenses.gpl2;
    platforms = ocaml.meta.platforms or [];
    maintainers = [ maintainers.scolobb ];
  };
}
<commit_msg>bibtex2html: add perl dependency<commit_after>{ stdenv, fetchurl, ocaml, perl }:

stdenv.mkDerivation {
  pname = "bibtex2html";
  version = "1.99";

  src = fetchurl {
    url = "https://www.lri.fr/~filliatr/ftp/bibtex2html/bibtex2html-1.99.tar.gz";
    sha256 = "07gzrs4lfrkvbn48cgn2gn6c7cx3jsanakkrb2irj0gmjzfxl96j";
  };

  buildInputs = [ ocaml perl ];

  meta = with stdenv.lib; {
    description = "A collection of tools for translating from BibTeX to HTML";
    homepage = "https://www.lri.fr/~filliatr/bibtex2html/";
    license = licenses.gpl2;
    platforms = ocaml.meta.platforms or [];
    maintainers = [ maintainers.scolobb ];
  };
}

{'fraction_non_alphanumeric': 0.138801261829653, 'fraction_numerical': 0.04337539432176656, 'mean_word_length': 3.564748201438849, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '1773792', 'n_tokens_mistral': 551, 'n_tokens_neox': 511, 'n_words': 85}