<commit_before>{ lib, fetchurl, buildDunePackage }:

buildDunePackage rec {
  minimumOCamlVersion = "4.03";
  pname = "eqaf";
  version = "0.6";

  src = fetchurl {
    url = "https://github.com/mirage/eqaf/releases/download/v${version}/eqaf-v${version}.tbz";
    sha256 = "068r231ia87mpqpaqzqb9sjfj6yaqrwvcls2p173aa4qg38xvsq9";
  };

  meta = {<commit_msg>ocamlPackages.eqaf: enable cstruct and bigarray modules<commit_after>{ lib, fetchurl, buildDunePackage, cstruct, bigarray-compat }:

buildDunePackage rec {
  minimumOCamlVersion = "4.03";
  pname = "eqaf";
  version = "0.6";

  src = fetchurl {
    url = "https://github.com/mirage/eqaf/releases/download/v${version}/eqaf-v${version}.tbz";
    sha256 = "068r231ia87mpqpaqzqb9sjfj6yaqrwvcls2p173aa4qg38xvsq9";
  };

  propagatedBuildInputs = [ cstruct bigarray-compat ];

  meta = {
{'fraction_non_alphanumeric': 0.1431980906921241, 'fraction_numerical': 0.06205250596658711, 'mean_word_length': 4.519736842105263, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4145356', 'n_tokens_mistral': 369, 'n_tokens_neox': 336, 'n_words': 48}