mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 08:05:40 +00:00
28 lines
813 B
Nix
28 lines
813 B
Nix
{ fetchurl, stdenv, ocamlPackages, coq }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "why3-${version}";
|
|
version = "0.87.0";
|
|
|
|
src = fetchurl {
|
|
url = https://gforge.inria.fr/frs/download.php/file/35643/why3-0.87.0.tar.gz;
|
|
sha256 = "0c3vhcb70ay7iwvmq0m25fqh38y40c5x7mki4r9pxf13vgbs3xb0";
|
|
};
|
|
|
|
buildInputs = (with ocamlPackages; [
|
|
ocaml findlib 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 ];
|
|
};
|
|
}
|