<commit_before>{ lib, mkCoqDerivation, coq, bignums, math-classes, version ? null }:

with lib; mkCoqDerivation rec {
  pname = "corn";
  inherit version;
  defaultVersion = switch coq.coq-version [
    { case = "8.6"; out = "8.8.1"; }
    { case = (versions.range "8.7" "8.12"); out = "8.12.0"; }
  ] null;
  release = {
    "8.8.1".sha256 = "0gh32j0f18vv5lmf6nb87nr5450w6ai06rhrnvlx2wwi79gv10wp";
    "8.12.0".sha256 = "0b92vhyzn1j6cs84z2182fn82hxxj0bqq7hk6cs4awwb3vc7dkhi";
  };

  preConfigure = "patchShebangs ./configure.sh";
  configureScript = "./configure.sh";
  dontAddPrefix = true;

  propagatedBuildInputs = [ bignums math-classes ];

  meta = {
    homepage = "http://c-corn.github.io/";
    license = licenses.gpl2;
    description = "A Coq library for constructive analysis";
    maintainers = [ maintainers.vbgl ];
  };
}
<commit_msg>coqPackages.corn: 8.12.0 → 8.13.0<commit_after>{ lib, mkCoqDerivation, coq, bignums, math-classes, version ? null }:

with lib; mkCoqDerivation rec {
  pname = "corn";
  inherit version;
  defaultVersion = switch coq.coq-version [
    { case = "8.6"; out = "8.8.1"; }
    { case = (versions.range "8.7" "8.12"); out = "8.12.0"; }
    { case = (versions.range "8.13" "8.13"); out = "c366d3f01ec1812b145117a4da940518b092d3a6"; }
  ] null;
  release = {
    "8.8.1".sha256 = "0gh32j0f18vv5lmf6nb87nr5450w6ai06rhrnvlx2wwi79gv10wp";
    "8.12.0".sha256 = "0b92vhyzn1j6cs84z2182fn82hxxj0bqq7hk6cs4awwb3vc7dkhi";
    "c366d3f01ec1812b145117a4da940518b092d3a6".sha256 = "1wzr7mdsnf1rq7q0dvmv55vxzysy85b00ahwbs868bl7m8fk8x5b";
  };

  preConfigure = "patchShebangs ./configure.sh";
  configureScript = "./configure.sh";
  dontAddPrefix = true;

  propagatedBuildInputs = [ bignums math-classes ];

  meta = {
    homepage = "http://c-corn.github.io/";
    license = licenses.gpl2;
    description = "A Coq library for constructive analysis";
    maintainers = [ maintainers.vbgl ];
  };
}

{'fraction_non_alphanumeric': 0.14966338684619368, 'fraction_numerical': 0.11859140341791817, 'mean_word_length': 3.735294117647059, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1451064', 'n_tokens_mistral': 920, 'n_tokens_neox': 822, 'n_words': 129}