2021-01-15 13:21:58 +00:00
|
|
|
{ lib, stdenv, fetchurl, rsync, ocamlPackages }:
|
2015-03-24 04:54:03 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "abella";
|
2021-10-19 17:25:44 +00:00
|
|
|
version = "2.0.7";
|
2015-03-24 04:54:03 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "http://abella-prover.org/distributions/${pname}-${version}.tar.gz";
|
2021-10-19 17:25:44 +00:00
|
|
|
sha256 = "sha256-/eOiebMFHgrurtrSHPlgZO3xmmxBOUmyAzswXZLd3Yc=";
|
2015-03-24 04:54:03 +00:00
|
|
|
};
|
|
|
|
|
2017-10-15 14:17:15 +00:00
|
|
|
buildInputs = [ rsync ] ++ (with ocamlPackages; [ ocaml ocamlbuild findlib ]);
|
2015-03-24 04:54:03 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
rsync -av abella $out/bin/
|
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://abella-prover.org/";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = with lib.maintainers; [ bcdarwin ciil ];
|
|
|
|
platforms = lib.platforms.unix;
|
2015-03-24 04:54:03 +00:00
|
|
|
};
|
|
|
|
}
|