<commit_before>{ stdenv, buildOcaml, fetchFromGitHub, ocaml-migrate-parsetree }:

buildOcaml rec {
  name = "ppx_tools_versioned";
  version = "5.1";

  minimumSupportedOcamlVersion = "4.02";

  src = fetchFromGitHub {
    owner = "let-def";
    repo = "ppx_tools_versioned";
    rev = version;
    sha256 = "1c7kvca67qpyr4hiy492yik5x31lmkhyhy5wpl0l0fbx7fr7l624";
  };

  propagatedBuildInputs = [ ocaml-migrate-parsetree ];

  createFindlibDestdir = true;

  meta = with stdenv.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: remove spurious dependency to camlp4<commit_after>{ stdenv, fetchFromGitHub, ocaml, findlib, ocaml-migrate-parsetree }:

stdenv.mkDerivation rec {
  name = "ocaml${ocaml.version}-ppx_tools_versioned-${version}";
  version = "5.1";

  src = fetchFromGitHub {
    owner = "let-def";
    repo = "ppx_tools_versioned";
    rev = version;
    sha256 = "1c7kvca67qpyr4hiy492yik5x31lmkhyhy5wpl0l0fbx7fr7l624";
  };

  buildInputs = [ ocaml findlib ];

  propagatedBuildInputs = [ ocaml-migrate-parsetree ];

  createFindlibDestdir = true;

  meta = with stdenv.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.11588541666666667, 'fraction_numerical': 0.03515625, 'mean_word_length': 4.089403973509934, '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': '6719330', 'n_tokens_mistral': 614, 'n_tokens_neox': 584, 'n_words': 101}