nixpkgs/pkgs/applications/science/logic/why3/default.nix

28 lines
813 B
Nix
Raw Normal View History

2015-12-01 08:25:38 +00:00
{ fetchurl, stdenv, ocamlPackages, coq }:
stdenv.mkDerivation rec {
name = "why3-${version}";
2016-06-08 19:28:57 +01:00
version = "0.87.1";
src = fetchurl {
2016-06-08 19:28:57 +01:00
url = https://gforge.inria.fr/frs/download.php/file/35893/why3-0.87.1.tar.gz;
sha256 = "1ssik2f6fkpvwpdmxz8hrm3p62qas3sjlqya0r57s60ilpkgiwwb";
};
buildInputs = (with ocamlPackages; [
ocaml findlib lablgtk ocamlgraph zarith menhir ]) ++
stdenv.lib.optionals (ocamlPackages.ocaml == coq.ocaml ) [
coq coq.camlp5
];
installTargets = [ "install" "install-lib" ];
2014-10-11 23:27:57 +01:00
meta = with stdenv.lib; {
description = "A platform for deductive program verification";
homepage = "http://why3.lri.fr/";
2014-10-11 23:27:57 +01:00
license = licenses.lgpl21;
platforms = platforms.unix;
maintainers = with maintainers; [ thoughtpolice vbgl ];
};
}