14 fiat = v: "unstable-${v}";
17 defaultVersion = if coq.coq-version == "8.5" then "2016-10-24" else null;
18 release."2016-10-24".rev = "7feb6c64be9ebcc05924ec58fe1463e73ec8206a";
19 release."2016-10-24".sha256 = "16y57vibq3f5i5avgj80f4i3aw46wdwzx36k5d3pf3qk17qrlrdi";
22 buildInputs = [ python27 ];
24 prePatch = "patchShebangs etc/coq-scripts";
28 enableParallelBuilding = false;
29 buildPhase = "make -j$NIX_BUILD_CORES";
32 COQLIB=$out/lib/coq/${coq.coq-version}/
33 mkdir -p $COQLIB/user-contrib/Fiat
34 cp -pR src/* $COQLIB/user-contrib/Fiat
38 homepage = "http://plv.csail.mit.edu/fiat/";
39 description = "Library for the Coq proof assistant for synthesizing efficient correct-by-construction programs from declarative specifications";
40 maintainers = with lib.maintainers; [ jwiegley ];