3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/logic/why3/default.nix

49 lines
1.2 KiB
Nix
Raw Normal View History

2019-06-19 03:01:38 +01:00
{ callPackage, fetchurl, stdenv
, ocamlPackages, coqPackages, rubber, hevea, emacs }:
stdenv.mkDerivation rec {
pname = "why3";
2019-02-17 14:53:33 +00:00
version = "1.2.0";
src = fetchurl {
2019-02-17 14:53:33 +00:00
url = https://gforge.inria.fr/frs/download.php/file/37903/why3-1.2.0.tar.gz;
sha256 = "0xz001jhi71ja8vqrjz27v63bidrzj4qvg1yqarq6p4dmpxhk348";
};
2019-06-19 03:01:38 +01:00
buildInputs = with ocamlPackages; [
ocaml findlib ocamlgraph zarith menhir
# Compressed Sessions
# Emacs compilation of why3.el
emacs
# Documentation
rubber hevea
# GUI
lablgtk
# WebIDE
js_of_ocaml js_of_ocaml-ppx
# Coq Support
coqPackages.coq coqPackages.flocq ocamlPackages.camlp5
];
propagatedBuildInputs = with ocamlPackages; [ camlzip num ];
enableParallelBuilding = true;
# Remove unnecessary call to which
patches = [ ./configure.patch ];
configureFlags = [ "--enable-verbose-make" ];
installTargets = [ "install" "install-lib" ];
2019-06-19 03:01:38 +01:00
passthru.withProvers = callPackage ./with-provers.nix {};
2014-10-11 23:27:57 +01:00
meta = with stdenv.lib; {
description = "A platform for deductive program verification";
homepage = "http://why3.lri.fr/";
2014-10-11 23:27:57 +01:00
license = licenses.lgpl21;
platforms = platforms.unix;
maintainers = with maintainers; [ thoughtpolice vbgl ];
};
}