2021-01-17 00:15:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, rsync, ocamlPackages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "abella";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "2.0.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://abella-prover.org/distributions/${pname}-${version}.tar.gz";
|
2023-11-16 04:20:00 +00:00
|
|
|
sha256 = "sha256-80b/RUpE3KRY0Qu8eeTxAbk6mwGG6jVTPOP0qFjyj2M=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
nativeBuildInputs = [ rsync ] ++ (with ocamlPackages; [ ocaml dune_3 menhir findlib ]);
|
|
|
|
buildInputs = with ocamlPackages; [ cmdliner yojson ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
2023-11-16 04:20:00 +00:00
|
|
|
rsync -av _build/default/src/abella.exe $out/bin/abella
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkdir -p $out/share/emacs/site-lisp/abella/
|
|
|
|
rsync -av emacs/ $out/share/emacs/site-lisp/abella/
|
|
|
|
|
|
|
|
mkdir -p $out/share/abella/examples
|
|
|
|
rsync -av examples/ $out/share/abella/examples/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Interactive theorem prover";
|
|
|
|
longDescription = ''
|
|
|
|
Abella is an interactive theorem prover based on lambda-tree syntax.
|
|
|
|
This means that Abella is well-suited for reasoning about the meta-theory
|
|
|
|
of programming languages and other logical systems which manipulate
|
|
|
|
objects with binding.
|
|
|
|
'';
|
|
|
|
homepage = "http://abella-prover.org/";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = with lib.maintainers; [ bcdarwin ciil ];
|
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|