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

buildDunePackage rec {
  pname = "ppx_tools_versioned";
  version = "5.4.0";

  src = fetchFromGitHub {
    owner = "ocaml-ppx";
    repo = pname;
    rev = version;
    sha256 = "07lnj4yzwvwyh5fhpp1dxrys4ddih15jhgqjn59pmgxinbnddi66";
  };

  propagatedBuildInputs = [ ocaml-migrate-parsetree ];

  meta = with lib; {
    homepage = "https://github.com/let-def/ppx_tools_versioned";
    description = "Tools for authors of syntactic tools (such as ppx rewriters)";
    license = licenses.gpl2;
    maintainers = [ maintainers.volth ];
  };
}<commit_msg>ocamlPackages.ppx_tools_versioned: use dune 2<commit_after>{ lib, fetchFromGitHub, buildDunePackage, ocaml-migrate-parsetree }:

buildDunePackage rec {
  pname = "ppx_tools_versioned";
  version = "5.4.0";

  useDune2 = true;

  src = fetchFromGitHub {
    owner = "ocaml-ppx";
    repo = pname;
    rev = version;
    sha256 = "07lnj4yzwvwyh5fhpp1dxrys4ddih15jhgqjn59pmgxinbnddi66";
  };

  propagatedBuildInputs = [ ocaml-migrate-parsetree ];

  meta = with lib; {
    homepage = "https://github.com/let-def/ppx_tools_versioned";
    description = "Tools for authors of syntactic tools (such as ppx rewriters)";
    license = licenses.gpl2;
    maintainers = [ maintainers.volth ];
  };
}
{'fraction_non_alphanumeric': 0.11746987951807229, 'fraction_numerical': 0.030120481927710843, 'mean_word_length': 3.868131868131868, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4554242', 'n_tokens_mistral': 534, 'n_tokens_neox': 508, 'n_words': 91}