generated from nix-community/nur-packages-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
abella-master: init at 0-unstable-2024-11-27
- Loading branch information
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ lib, stdenv, fetchFromGitHub, rsync, ocamlPackages, nodejs }: | ||
|
||
stdenv.mkDerivation (finalAttrs: { | ||
pname = "abella-master"; | ||
version = "0-unstable-2024-11-27"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "abella-prover"; | ||
repo = "abella"; | ||
rev = "f97da8c9ea10cf2123696a1595e3e0f84b795a14"; | ||
sha256 = "sha256-PmIyKk0lLes/JVQ8XHchKEkx3qkGv8Ssn+AEAMba70E="; | ||
}; | ||
|
||
strictDeps = true; | ||
|
||
nativeBuildInputs = [ nodejs rsync ] ++ (with ocamlPackages; [ ocaml dune_3 menhir findlib ]); | ||
buildInputs = with ocamlPackages; [ cmdliner yojson ]; | ||
|
||
installPhase = '' | ||
mkdir -p $out/bin | ||
rsync -av _build/default/src/abella.exe $out/bin/abella | ||
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"; | ||
mainProgram = "abella"; | ||
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 = "https://abella-prover.org"; | ||
license = lib.licenses.gpl3; | ||
maintainers = with lib.maintainers; [ chen ]; | ||
platforms = lib.platforms.unix; | ||
}; | ||
}) |