2015-12-01 00:25:38 -08:00
|
|
|
{ fetchurl, stdenv, ocamlPackages, coq }:
|
2014-05-01 00:28:52 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "why3-${version}";
|
2018-01-13 21:51:06 -08:00
|
|
|
version = "0.88.3";
|
2014-05-01 00:28:52 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-01-13 21:51:06 -08:00
|
|
|
url = https://gforge.inria.fr/frs/download.php/file/37313/why3-0.88.3.tar.gz;
|
|
|
|
sha256 = "0limdqy9l5bjzwhdalcfdyh0b6laxgiphhvr4bby9p0030agssiy";
|
2014-05-01 00:28:52 -07:00
|
|
|
};
|
|
|
|
|
2016-03-03 22:29:28 -08:00
|
|
|
buildInputs = (with ocamlPackages; [
|
|
|
|
ocaml findlib lablgtk ocamlgraph zarith menhir ]) ++
|
|
|
|
stdenv.lib.optionals (ocamlPackages.ocaml == coq.ocaml ) [
|
|
|
|
coq coq.camlp5
|
|
|
|
];
|
|
|
|
|
|
|
|
installTargets = [ "install" "install-lib" ];
|
2014-05-01 00:28:52 -07:00
|
|
|
|
2014-10-11 15:27:57 -07:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A platform for deductive program verification";
|
2014-05-01 00:28:52 -07:00
|
|
|
homepage = "http://why3.lri.fr/";
|
2014-10-11 15:27:57 -07:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ thoughtpolice vbgl ];
|
2014-05-01 00:28:52 -07:00
|
|
|
};
|
|
|
|
}
|