why3: 1.3.3 → 1.4.0

framac: 22.0 → 23.0-rc1
This commit is contained in:
Vincent Laporte 2021-06-25 08:53:41 +02:00 committed by Vincent Laporte
parent f5b9a25cdd
commit 773bdf6998
2 changed files with 15 additions and 12 deletions

View File

@ -3,16 +3,15 @@
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "why3"; pname = "why3";
version = "1.3.3"; version = "1.4.0";
src = fetchurl { src = fetchurl {
url = "https://gforge.inria.fr/frs/download.php/file/38367/why3-1.3.3.tar.gz"; url = "https://gforge.inria.fr/frs/download.php/file/38425/why3-1.4.0.tar.gz";
sha256 = "1n0a2nn1gnk0zg339lh698g4wpk7m8m1vyi2yvifd5adqvk4milw"; sha256 = "0lw0cpx347zz9vvwqibmbxgs80fsd16scgk3isscvwxnajpc3rv8";
}; };
buildInputs = with ocamlPackages; [ buildInputs = with ocamlPackages; [
ocaml findlib ocamlgraph zarith menhir menhirLib ocaml findlib ocamlgraph zarith menhir menhirLib
# Compressed Sessions
# Emacs compilation of why3.el # Emacs compilation of why3.el
emacs emacs
# Documentation # Documentation
@ -21,18 +20,16 @@ stdenv.mkDerivation {
lablgtk lablgtk
# WebIDE # WebIDE
js_of_ocaml js_of_ocaml-ppx js_of_ocaml js_of_ocaml-ppx
# S-expression output for why3pp
ppx_deriving ppx_sexp_conv
# Coq Support # Coq Support
coqPackages.coq coqPackages.flocq ocamlPackages.camlp5 coqPackages.coq coqPackages.flocq ocamlPackages.camlp5
]; ];
propagatedBuildInputs = with ocamlPackages; [ camlzip num ]; propagatedBuildInputs = with ocamlPackages; [ camlzip num re sexplib ];
enableParallelBuilding = true; enableParallelBuilding = true;
postPatch = ''
substituteInPlace Makefile.in --replace js_of_ocaml.ppx js_of_ocaml-ppx
'';
configureFlags = [ "--enable-verbose-make" ]; configureFlags = [ "--enable-verbose-make" ];
installTargets = [ "install" "install-lib" ]; installTargets = [ "install" "install-lib" ];

View File

@ -17,6 +17,12 @@ let
ocamlgraph ocamlgraph
stdlib-shims stdlib-shims
why3 why3
re
seq
sexplib
sexplib0
parsexp
base
yojson yojson
zarith zarith
]; ];
@ -25,12 +31,12 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "frama-c"; pname = "frama-c";
version = "22.0"; version = "23.0-rc1";
slang = "Titanium"; slang = "Vanadium";
src = fetchurl { src = fetchurl {
url = "http://frama-c.com/download/frama-c-${version}-${slang}.tar.gz"; url = "http://frama-c.com/download/frama-c-${version}-${slang}.tar.gz";
sha256 = "1mq1fijka95ydrla486yr4w6wdl9l7vmp512s1q00b0p6lmfwmkh"; sha256 = "1z9f9a217bav3vfc99kq57d5rza6j7hr91ndviwkgcaib6wc5hcv";
}; };
preConfigure = lib.optionalString stdenv.cc.isClang "configureFlagsArray=(\"--with-cpp=clang -E -C\")"; preConfigure = lib.optionalString stdenv.cc.isClang "configureFlagsArray=(\"--with-cpp=clang -E -C\")";