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