<commit_before>{ stdenv, fetchurl, coq, ocaml, ocamlPackages, gcc }:

stdenv.mkDerivation rec {
  name    = "compcert-${version}";
  version = "2.3pl2";

  src = fetchurl {
    url    = "http://compcert.inria.fr/release/${name}.tgz";
    sha256 = "1cq4my646ll1mszs5mbzwk4vp8l8qnsc96fpcv2pl35aw5i6jqm8";
  };

  buildInputs = [ coq ocaml ocamlPackages.menhir ];

  enableParallelBuilding = true;
  configurePhase = "./configure -prefix $out -toolprefix ${gcc}/bin/ " +
    (if stdenv.isDarwin then "ia32-macosx" else "ia32-linux");

  meta = {
    description = "Formally verified C compiler";
    homepage    = "http://compcert.inria.fr";
    license     = stdenv.lib.licenses.inria;
    platforms   = [ stdenv.lib.platforms.linux
                    stdenv.lib.platforms.darwin ];<commit_msg>compcert: Correct syntax used in default.nix<commit_after>{ stdenv, fetchurl, coq, ocaml, ocamlPackages, gcc }:

stdenv.mkDerivation rec {
  name    = "compcert-${version}";
  version = "2.3pl2";

  src = fetchurl {
    url    = "http://compcert.inria.fr/release/${name}.tgz";
    sha256 = "1cq4my646ll1mszs5mbzwk4vp8l8qnsc96fpcv2pl35aw5i6jqm8";
  };

  buildInputs = [ coq ocaml ocamlPackages.menhir ];

  enableParallelBuilding = true;
  configurePhase = "./configure -prefix $out -toolprefix ${gcc}/bin/ " +
    (if stdenv.isDarwin then "ia32-macosx" else "ia32-linux");

  meta = {
    description = "Formally verified C compiler";
    homepage    = "http://compcert.inria.fr";
    license     = stdenv.lib.licenses.inria;
    platforms   = stdenv.lib.platforms.linux ++
                  stdenv.lib.platforms.darwin;
{'fraction_non_alphanumeric': 0.137546468401487, 'fraction_numerical': 0.03469640644361834, 'mean_word_length': 3.2057291666666665, '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': '5823429', 'n_tokens_mistral': 642, 'n_tokens_neox': 609, 'n_words': 105}