<commit_before>{stdenv, bash, which, autoconf, automake, fetchurl, coq}:

stdenv.mkDerivation rec {

  name = "coq-flocq-${coq.coq-version}-${version}";
  version = "2.5.0";

  src = fetchurl {
    url = "https://gforge.inria.fr/frs/download.php/file/33979/flocq-${version}.tar.gz";
    sha256 = "0v3qiaz7vxfc5nk8rxwi39mik7hm7p5kb040q2pimb69qgfl6vml";
  };

  buildInputs = [ coq.ocaml coq.camlp5 bash which autoconf automake ];
  propagatedBuildInputs = [ coq ];

  buildPhase = ''
    ${bash}/bin/bash autogen.sh
    ${bash}/bin/bash configure --libdir=$out/lib/coq/${coq.coq-version}/user-contrib/Flocq<commit_msg>Revert "coqPackages.flocq: 2.4.0 -> 2.5.0"<commit_after>{stdenv, bash, which, autoconf, automake, fetchurl, coq}:

stdenv.mkDerivation rec {

  name = "coq-flocq-${coq.coq-version}-${version}";
  version = "2.5.0";

  src = fetchurl {
    url = https://gforge.inria.fr/frs/download.php/file/35091/flocq-2.5.0.tar.gz;
    sha256 = "0v3qiaz7vxfc5nk8rxwi39mik7hm7p5kb040q2pimb69qgfl6vml";
  };

  buildInputs = [ coq.ocaml coq.camlp5 bash which autoconf automake ];
  propagatedBuildInputs = [ coq ];

  buildPhase = ''
    ${bash}/bin/bash autogen.sh
    ${bash}/bin/bash configure --libdir=$out/lib/coq/${coq.coq-version}/user-contrib/Flocq
{'fraction_non_alphanumeric': 0.1695859872611465, 'fraction_numerical': 0.05334394904458599, 'mean_word_length': 3.8910505836575875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '2550566', 'n_tokens_mistral': 583, 'n_tokens_neox': 540, 'n_words': 70}