<commit_before>{ lib, fetchurl, buildDunePackage, result }:

buildDunePackage rec {

  pname = "ocaml-version";
  version = "2.3.0";

  src = fetchurl {
    url = "https://github.com/ocurrent/ocaml-version/releases/download/v${version}/ocaml-version-v${version}.tbz";
    sha256 = "0c711lifl35xila9k0rvhijy9zm3shd37q3jgw7xf01hn1swg0hn";
  };

  propagatedBuildInputs = [ result ];

  meta = {
    description = "Manipulate, parse and generate OCaml compiler version strings";
    homepage = "https://github.com/ocurrent/ocaml-version";
    license = lib.licenses.isc;
    maintainers = [ lib.maintainers.vbgl ];
  };<commit_msg>ocamlPackages.ocaml-version: 2.3.0 → 3.0.0<commit_after>{ lib, fetchurl, buildDunePackage }:

buildDunePackage rec {

  pname = "ocaml-version";
  version = "3.0.0";

  minimumOCamlVersion = "4.07";

  src = fetchurl {
    url = "https://github.com/ocurrent/ocaml-version/releases/download/v${version}/ocaml-version-v${version}.tbz";
    sha256 = "15vk8sh50p3f2mbv8z7mqnx76cffri36f2krp25zkkwix8jg7ci4";
  };

  meta = {
    description = "Manipulate, parse and generate OCaml compiler version strings";
    homepage = "https://github.com/ocurrent/ocaml-version";
    license = lib.licenses.isc;
    maintainers = [ lib.maintainers.vbgl ];
  };
{'fraction_non_alphanumeric': 0.14319433516915814, 'fraction_numerical': 0.045633359559402044, 'mean_word_length': 3.96875, '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': '2557048', 'n_tokens_mistral': 500, 'n_tokens_neox': 468, 'n_words': 72}