coqPackages.fiat: new expression
This commit is contained in:
parent
d2566a190e
commit
2aec1b0f31
|
@ -0,0 +1,41 @@
|
||||||
|
{stdenv, fetchurl, coq}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
|
name = "coq-fiat-${coq.coq-version}-${version}";
|
||||||
|
version = "20141031";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://plv.csail.mit.edu/fiat/releases/fiat-${version}.tar.gz";
|
||||||
|
sha256 = "0c5jrcgbpdj0gfzg2q4naqw7frf0xxs1f451fnic6airvpaj0d55";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ coq.ocaml coq.camlp5 ];
|
||||||
|
propagatedBuildInputs = [ coq ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
unpackPhase = ''
|
||||||
|
mkdir fiat
|
||||||
|
cd fiat
|
||||||
|
tar xvzf ${src}
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildPhase = "make sources";
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
COQLIB=$out/lib/coq/${coq.coq-version}/
|
||||||
|
mkdir -p $COQLIB/user-contrib/Fiat
|
||||||
|
cp -pR src $COQLIB/user-contrib/Fiat
|
||||||
|
'';
|
||||||
|
|
||||||
|
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://plv.csail.mit.edu/fiat/;
|
||||||
|
description = "Fiat is 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -12415,6 +12415,8 @@ let
|
||||||
|
|
||||||
domains = callPackage ../development/coq-modules/domains {};
|
domains = callPackage ../development/coq-modules/domains {};
|
||||||
|
|
||||||
|
fiat = callPackage ../development/coq-modules/fiat {};
|
||||||
|
|
||||||
flocq = callPackage ../development/coq-modules/flocq {};
|
flocq = callPackage ../development/coq-modules/flocq {};
|
||||||
|
|
||||||
heq = callPackage ../development/coq-modules/heq {};
|
heq = callPackage ../development/coq-modules/heq {};
|
||||||
|
|
Loading…
Reference in New Issue