<commit_before>{ lib, buildDunePackage, ocaml, fetchurl, seq, qcheck-alcotest }:

buildDunePackage rec {
  minimumOCamlVersion = "4.03";
  pname = "psq";
  version = "0.2.0";

  useDune2 = true;

  src = fetchurl {
    url = "https://github.com/pqwy/psq/releases/download/v${version}/psq-v${version}.tbz";
    sha256 = "1j4lqkq17rskhgcrpgr4n1m1a2b1x35mlxj6f9g05rhpmgvgvknk";
  };

  propagatedBuildInputs = [ seq ];

  doCheck = lib.versionAtLeast ocaml.version "4.07";
  checkInputs = [ qcheck-alcotest ];

  meta = {<commit_msg>ocamlPackages.psq: disable tests with OCaml < 4.08<commit_after>{ lib, buildDunePackage, ocaml, fetchurl, seq, qcheck-alcotest }:

buildDunePackage rec {
  minimumOCamlVersion = "4.03";
  pname = "psq";
  version = "0.2.0";

  useDune2 = true;

  src = fetchurl {
    url = "https://github.com/pqwy/psq/releases/download/v${version}/psq-v${version}.tbz";
    sha256 = "1j4lqkq17rskhgcrpgr4n1m1a2b1x35mlxj6f9g05rhpmgvgvknk";
  };

  propagatedBuildInputs = [ seq ];

  doCheck = lib.versionAtLeast ocaml.version "4.08";
  checkInputs = [ qcheck-alcotest ];

  meta = {
{'fraction_non_alphanumeric': 0.14585232452142205, 'fraction_numerical': 0.053783044667274384, 'mean_word_length': 4.059907834101383, 'pattern_counts': {'":': 0, '<': 4, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7549799', 'n_tokens_mistral': 504, 'n_tokens_neox': 465, 'n_words': 69}