2018-10-10 18:32:46 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, ncurses, ocamlPackages }:
|
2014-06-08 06:35:26 +01:00
|
|
|
|
2018-10-10 18:32:46 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "prooftree";
|
2018-10-10 15:24:24 +01:00
|
|
|
version = "0.13";
|
2014-06-08 06:35:26 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://askra.de/software/prooftree/releases/prooftree-${version}.tar.gz";
|
2018-10-10 15:24:24 +01:00
|
|
|
sha256 = "0z1z4wqbqwgppkh2bm89fgy07a0y2m6g4lvcyzs09sm1ysklk2dh";
|
2014-06-08 06:35:26 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-10-10 18:32:46 +01:00
|
|
|
buildInputs = [ ncurses ] ++ (with ocamlPackages; [
|
|
|
|
ocaml findlib camlp5 lablgtk ]);
|
2014-06-08 06:35:26 +01:00
|
|
|
|
|
|
|
dontAddPrefix = true;
|
|
|
|
configureFlags = [ "--prefix" "$(out)" ];
|
|
|
|
|
2018-09-08 13:44:43 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "A program for proof-tree visualization";
|
2014-06-08 06:35:26 +01:00
|
|
|
longDescription = ''
|
|
|
|
Prooftree is a program for proof-tree visualization during interactive
|
|
|
|
proof development in a theorem prover. It is currently being developed
|
|
|
|
for Coq and Proof General. Prooftree helps against getting lost between
|
|
|
|
different subgoals in interactive proof development. It clearly shows
|
|
|
|
where the current subgoal comes from and thus helps in developing the
|
|
|
|
right plan for solving it.
|
|
|
|
|
|
|
|
Prooftree uses different colors for the already proven subgoals, the
|
|
|
|
current branch in the proof and the still open subgoals. Sequent texts
|
|
|
|
are not displayed in the proof tree itself, but they are shown as a
|
|
|
|
tool-tip when the mouse rests over a sequent symbol. Long proof commands
|
|
|
|
are abbreviated in the tree display, but show up in full length as
|
|
|
|
tool-tip. Both, sequents and proof commands, can be shown in the display
|
|
|
|
below the tree (on single click) or in a separate window (on double or
|
|
|
|
shift-click).
|
|
|
|
'';
|
|
|
|
homepage = http://askra.de/software/prooftree;
|
2018-09-08 13:44:43 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.jwiegley ];
|
|
|
|
license = licenses.gpl3;
|
2014-06-08 06:35:26 +01:00
|
|
|
};
|
2018-10-10 18:32:46 +01:00
|
|
|
}
|