summary refs log tree commit diff
path: root/pkgs/applications/science/logic/why3/default.nix
blob: 228d1a7c4d40a27c60c1cb82e57cf4a21ac099a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ fetchurl, stdenv, ocaml, ocamlPackages, coq }:

stdenv.mkDerivation rec {
  name    = "why3-${version}";
  version = "0.85";

  src = fetchurl {
    url    = "https://gforge.inria.fr/frs/download.php/34074/why3-0.85.tar.gz";
    sha256 = "0sj1pd50lqvnvyss1f8ysgigdi64s91rrpdrmp7crmcy1npa8apf";
  };

  buildInputs = with ocamlPackages;
    [ coq coq.camlp5 ocaml findlib lablgtk ocamlgraph zarith ];

  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 ];
  };
}