<commit_before>{ lib, buildDunePackage, fetchFromGitHub, cppo }:

buildDunePackage rec {
  version = "1.1";
  pname = "ocplib-endian";

  src = fetchFromGitHub {
    owner = "OCamlPro";
    repo = "ocplib-endian";
    rev = version;
    sha256 = "sha256-zKsSkhlZBXSqPtw+/WN3pwo9plM9rDZfMbGVfosqb10=";
  };

  useDune2 = true;

  nativeBuildInputs = [ cppo ];

  meta = with lib; {
    description = "Optimised functions to read and write int16/32/64";<commit_msg>ocamlPackages.ocplib-endian: 1.1 -> 1.2<commit_after>{ lib, buildDunePackage, fetchFromGitHub, cppo }:

buildDunePackage rec {
  version = "1.2";
  pname = "ocplib-endian";

  src = fetchFromGitHub {
    owner = "OCamlPro";
    repo = "ocplib-endian";
    rev = version;
    sha256 = "sha256-THTlhOfXAPaqTt1qBkht+D67bw6M175QLvXoUMgjks4=";
  };

  useDune2 = true;

  nativeBuildInputs = [ cppo ];

  meta = with lib; {
    description = "Optimised functions to read and write int16/32/64";
{'fraction_non_alphanumeric': 0.12815126050420167, 'fraction_numerical': 0.04936974789915966, 'mean_word_length': 3.6262135922330097, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, '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': '413370', 'n_tokens_mistral': 422, 'n_tokens_neox': 383, 'n_words': 73}