mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
nixpkgs: add CompCert
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
7d58646b08
commit
0c51a4ac98
24
pkgs/development/compilers/compcert/default.nix
Normal file
24
pkgs/development/compilers/compcert/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, fetchurl, coq, ocaml, gcc }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "compcert-${version}";
|
||||
version = "2.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://compcert.inria.fr/release/${name}.tgz";
|
||||
sha256 = "0zhqx9mixlsycckl6wq6yrd795byj1jz7m4njcgfv29cx33j1nrk";
|
||||
};
|
||||
|
||||
buildInputs = [ coq ocaml ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
configurePhase = "./configure -prefix $out -toolprefix ${gcc}/bin/ ia32-linux";
|
||||
|
||||
meta = {
|
||||
description = "Formally verified C compiler";
|
||||
homepage = "http://compcert.inria.fr";
|
||||
license = stdenv.lib.licenses.inria;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
||||
};
|
||||
}
|
|
@ -2470,6 +2470,8 @@ let
|
|||
|
||||
cmucl_binary = callPackage ../development/compilers/cmucl/binary.nix { };
|
||||
|
||||
compcert = callPackage_i686 ../development/compilers/compcert {};
|
||||
|
||||
cryptol1 = lowPrio (callPackage ../development/compilers/cryptol/1.8.x.nix {});
|
||||
cryptol2 = haskellPackages.cryptol;
|
||||
|
||||
|
|
Loading…
Reference in a new issue