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

39 lines
1.2 KiB
Nix
Raw Normal View History

2017-09-22 04:30:52 +01:00
{ stdenv, fetchurl, rsync, ocamlPackages }:
2015-03-24 04:54:03 +00:00
stdenv.mkDerivation rec {
name = "abella-${version}";
2017-10-15 15:17:15 +01:00
version = "2.0.4";
2015-03-24 04:54:03 +00:00
src = fetchurl {
url = "http://abella-prover.org/distributions/${name}.tar.gz";
2017-10-15 15:17:15 +01:00
sha256 = "1hnccjlyzwgz7kqsr4xmx9y4wmalbxsj0g6fxdk6xrgpc84ihw2c";
2015-03-24 04:54:03 +00:00
};
2017-10-15 15:17:15 +01: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.
'';
homepage = http://abella-prover.org/;
license = stdenv.lib.licenses.gpl3;
2017-10-15 15:17:15 +01:00
maintainers = with stdenv.lib.maintainers; [ bcdarwin ciil ];
2015-03-24 04:54:03 +00:00
platforms = stdenv.lib.platforms.unix;
};
}