<commit_before>{ lib, fetchurl, buildDunePackage, ocaml, alcotest, ocaml-migrate-parsetree }:

buildDunePackage rec {
  pname = "ppx_blob";
  version = "0.4.0";

  src = fetchurl {
    url = "https://github.com/johnwhitington/${pname}/releases/download/${version}/ppx_blob-${version}.tbz";
    sha256 = "1xmslk1mwdzhy1bydgsjlcb7h544c39hvxa8lywp8w72gaggjl16";
  };

  checkInputs = lib.optional doCheck alcotest;
  buildInputs = [ ocaml-migrate-parsetree ];
  doCheck = lib.versionAtLeast ocaml.version "4.03";

  meta = with lib; {
    homepage = "https://github.com/johnwhitington/ppx_blob";
    description = "OCaml ppx to include binary data from a file as a string";
    license = licenses.unlicense;
  };
}
<commit_msg>ocamlPackages.ppx_blob: 0.4.0 → 0.7.1<commit_after>{ lib, fetchurl, buildDunePackage, ocaml, alcotest, ocaml-migrate-parsetree }:

buildDunePackage rec {
  pname = "ppx_blob";
  version = "0.7.1";

  useDune2 = true;

  src = fetchurl {
    url = "https://github.com/johnwhitington/${pname}/releases/download/${version}/ppx_blob-${version}.tbz";
    sha256 = "0m616ri6kmawflphiwm6j4djds27v0fjvi8xjz1fq5ydc1sq8d0l";
  };

  checkInputs = [ alcotest ];
  buildInputs = [ ocaml-migrate-parsetree ];
  doCheck = lib.versionAtLeast ocaml.version "4.05";

  meta = with lib; {
    homepage = "https://github.com/johnwhitington/ppx_blob";
    description = "OCaml ppx to include binary data from a file as a string";
    license = licenses.unlicense;
  };
}

{'fraction_non_alphanumeric': 0.1369491525423729, 'fraction_numerical': 0.03796610169491525, 'mean_word_length': 4.054794520547945, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '6340107', 'n_tokens_mistral': 610, 'n_tokens_neox': 584, 'n_words': 101}