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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
1.2 KiB
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{ lib, stdenv, fetchurl, rsync, ocamlPackages }:
2015-03-24 04:54:03 +00:00
stdenv.mkDerivation rec {
pname = "abella";
2021-10-19 17:25:44 +00:00
version = "2.0.7";
2015-03-24 04:54:03 +00:00
src = fetchurl {
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.
'';
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
};
}