Merge pull request #4390 from vbgl/compcert

CompCert: update to 2.4
This commit is contained in:
Austin Seipp 2014-10-05 18:11:22 -05:00
commit 822925b5c3

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "compcert-${version}"; name = "compcert-${version}";
version = "2.3pl2"; version = "2.4";
src = fetchurl { src = fetchurl {
url = "http://compcert.inria.fr/release/${name}.tgz"; url = "http://compcert.inria.fr/release/${name}.tgz";
sha256 = "1cq4my646ll1mszs5mbzwk4vp8l8qnsc96fpcv2pl35aw5i6jqm8"; sha256 = "1qrb1cplx3v5wxn1c46kx67v1j52yznvjm2hkrsdybphhki2pyia";
}; };
buildInputs = [ coq ocaml ocamlPackages.menhir ]; buildInputs = [ coq ocaml ocamlPackages.menhir ];
@ -15,13 +15,12 @@ stdenv.mkDerivation rec {
configurePhase = "./configure -prefix $out -toolprefix ${gcc}/bin/ " + configurePhase = "./configure -prefix $out -toolprefix ${gcc}/bin/ " +
(if stdenv.isDarwin then "ia32-macosx" else "ia32-linux"); (if stdenv.isDarwin then "ia32-macosx" else "ia32-linux");
meta = { meta = with stdenv.lib; {
description = "Formally verified C compiler"; description = "Formally verified C compiler";
homepage = "http://compcert.inria.fr"; homepage = "http://compcert.inria.fr";
license = stdenv.lib.licenses.inria; license = licenses.inria;
platforms = stdenv.lib.platforms.linux ++ platforms = platforms.linux ++
stdenv.lib.platforms.darwin; platforms.darwin;
maintainers = [ stdenv.lib.maintainers.thoughtpolice maintainers = with maintainers; [ thoughtpolice jwiegley vbgl ];
stdenv.lib.maintainers.jwiegley ];
}; };
} }