2015-12-01 08:25:38 +00:00
|
|
|
{ fetchurl, stdenv, ocamlPackages, coq }:
|
2014-05-01 08:28:52 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "why3-${version}";
|
2019-02-17 14:53:33 +00:00
|
|
|
version = "1.2.0";
|
2014-05-01 08:28:52 +01:00
|
|
|
|
|
|
|
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";
|
2014-05-01 08:28:52 +01:00
|
|
|
};
|
|
|
|
|
2016-03-04 06:29:28 +00:00
|
|
|
buildInputs = (with ocamlPackages; [
|
2018-07-18 01:57:55 +01:00
|
|
|
ocaml findlib num lablgtk ocamlgraph zarith menhir ]) ++
|
2018-12-29 20:05:23 +00:00
|
|
|
stdenv.lib.optionals (ocamlPackages.ocaml == coq.ocamlPackages.ocaml ) [
|
|
|
|
coq ocamlPackages.camlp5
|
2016-03-04 06:29:28 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
installTargets = [ "install" "install-lib" ];
|
2014-05-01 08:28:52 +01:00
|
|
|
|
2014-10-11 23:27:57 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A platform for deductive program verification";
|
2014-05-01 08:28:52 +01:00
|
|
|
homepage = "http://why3.lri.fr/";
|
2014-10-11 23:27:57 +01:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ thoughtpolice vbgl ];
|
2014-05-01 08:28:52 +01:00
|
|
|
};
|
|
|
|
}
|