1 {lib, mkCoqDerivation, coq, python27, version ? null }:
7 displayVersion = { fiat = v: "unstable-${v}"; };
9 defaultVersion = if coq.coq-version == "8.5" then "2016-10-24" else null;
10 release."2016-10-24".rev = "7feb6c64be9ebcc05924ec58fe1463e73ec8206a";
11 release."2016-10-24".sha256 = "16y57vibq3f5i5avgj80f4i3aw46wdwzx36k5d3pf3qk17qrlrdi";
14 buildInputs = [ python27 ];
16 prePatch = "patchShebangs etc/coq-scripts";
20 enableParallelBuilding = false;
21 buildPhase = "make -j$NIX_BUILD_CORES";
24 COQLIB=$out/lib/coq/${coq.coq-version}/
25 mkdir -p $COQLIB/user-contrib/Fiat
26 cp -pR src/* $COQLIB/user-contrib/Fiat
30 homepage = "http://plv.csail.mit.edu/fiat/";
31 description = "A library for the Coq proof assistant for synthesizing efficient correct-by-construction programs from declarative specifications";
32 maintainers = with lib.maintainers; [ jwiegley ];