Merge pull request #267372 from cu1ch3n/update-abella

abella: 2.0.7 -> 2.0.8
This commit is contained in:
Mario Rodas 2023-11-14 19:02:22 -05:00 committed by GitHub
commit 5268a6e24b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,20 +2,21 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "abella"; pname = "abella";
version = "2.0.7"; version = "2.0.8";
src = fetchurl { src = fetchurl {
url = "http://abella-prover.org/distributions/${pname}-${version}.tar.gz"; url = "http://abella-prover.org/distributions/${pname}-${version}.tar.gz";
sha256 = "sha256-/eOiebMFHgrurtrSHPlgZO3xmmxBOUmyAzswXZLd3Yc="; sha256 = "sha256-80b/RUpE3KRY0Qu8eeTxAbk6mwGG6jVTPOP0qFjyj2M=";
}; };
strictDeps = true; strictDeps = true;
nativeBuildInputs = [ rsync ] ++ (with ocamlPackages; [ ocaml ocamlbuild findlib ]); nativeBuildInputs = [ rsync ] ++ (with ocamlPackages; [ ocaml dune_3 menhir findlib ]);
buildInputs = with ocamlPackages; [ cmdliner yojson ];
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
rsync -av abella $out/bin/ rsync -av _build/default/src/abella.exe $out/bin/abella
mkdir -p $out/share/emacs/site-lisp/abella/ mkdir -p $out/share/emacs/site-lisp/abella/
rsync -av emacs/ $out/share/emacs/site-lisp/abella/ rsync -av emacs/ $out/share/emacs/site-lisp/abella/