coqPackages.fiat_HEAD: New package for Coq 8.4pl6 and 8.5pl2

This commit is contained in:
John Wiegley 2016-10-31 16:21:41 -07:00
parent d0bb7f0c53
commit a12f3d232d
No known key found for this signature in database
GPG Key ID: C144D8F4F19FE630
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{stdenv, fetchgit, coq, python27}:
stdenv.mkDerivation rec {
name = "coq-fiat-${coq.coq-version}-${version}";
version = "20161024";
src = fetchgit {
url = "https://github.com/mit-plv/fiat.git";
rev = "7feb6c64be9ebcc05924ec58fe1463e73ec8206a";
sha256 = "0griqc675yylf9rvadlfsabz41qy5f5idya30p5rv6ysiakxya64";
};
buildInputs = [ coq.ocaml coq.camlp5 python27 ];
propagatedBuildInputs = [ coq ];
doCheck = false;
enableParallelBuilding = false;
buildPhase = "make -j$NIX_BUILD_CORES";
installPhase = ''
COQLIB=$out/lib/coq/${coq.coq-version}/
mkdir -p $COQLIB/user-contrib/Fiat
cp -pR src/* $COQLIB/user-contrib/Fiat
'';
meta = with stdenv.lib; {
homepage = http://plv.csail.mit.edu/fiat/;
description = "A library for the Coq proof assistant for synthesizing efficient correct-by-construction programs from declarative specifications";
maintainers = with maintainers; [ jwiegley ];
platforms = coq.meta.platforms;
};
}

View File

@ -16484,6 +16484,7 @@ in
domains = callPackage ../development/coq-modules/domains {}; domains = callPackage ../development/coq-modules/domains {};
fiat = callPackage ../development/coq-modules/fiat {}; fiat = callPackage ../development/coq-modules/fiat {};
fiat_HEAD = callPackage ../development/coq-modules/fiat/HEAD.nix {};
flocq = callPackage ../development/coq-modules/flocq {}; flocq = callPackage ../development/coq-modules/flocq {};
@ -16527,6 +16528,8 @@ in
ssreflect = callPackage ../development/coq-modules/ssreflect { }; ssreflect = callPackage ../development/coq-modules/ssreflect { };
fiat_HEAD = callPackage ../development/coq-modules/fiat/HEAD.nix {};
}; };
coqPackages = mkCoqPackages_8_4 coqPackages; coqPackages = mkCoqPackages_8_4 coqPackages;