blob: 58609e856c3b23314b8286681b17de3b21c9c1d1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ fetchurl, stdenv, ocamlPackages, coq }:
stdenv.mkDerivation rec {
name = "why3-${version}";
version = "1.1.0";
src = fetchurl {
url = https://gforge.inria.fr/frs/download.php/file/37767/why3-1.1.0.tar.gz;
sha256 = "199ziq8mv3r24y3dd1n2r8k2gy09p7kdyyhkg9qn1vzfd2fxwzc1";
};
buildInputs = (with ocamlPackages; [
ocaml findlib num lablgtk ocamlgraph zarith menhir ]) ++
stdenv.lib.optionals (ocamlPackages.ocaml == coq.ocaml ) [
coq coq.camlp5
];
installTargets = [ "install" "install-lib" ];
meta = with stdenv.lib; {
description = "A platform for deductive program verification";
homepage = "http://why3.lri.fr/";
license = licenses.lgpl21;
platforms = platforms.unix;
maintainers = with maintainers; [ thoughtpolice vbgl ];
};
}
|