mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
coqPackages.fiat: new expression
This commit is contained in:
parent
d2566a190e
commit
2aec1b0f31
2 changed files with 43 additions and 0 deletions
41
pkgs/development/coq-modules/fiat/default.nix
Normal file
41
pkgs/development/coq-modules/fiat/default.nix
Normal file
|
@ -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 {};
|
||||
|
||||
fiat = callPackage ../development/coq-modules/fiat {};
|
||||
|
||||
flocq = callPackage ../development/coq-modules/flocq {};
|
||||
|
||||
heq = callPackage ../development/coq-modules/heq {};
|
||||
|
|
Loading…
Reference in a new issue