Merge pull request #38416 from bcdarwin/beluga
beluga: init at 20180403
This commit is contained in:
commit
d307ab5ca3
34
pkgs/applications/science/logic/beluga/default.nix
Normal file
34
pkgs/applications/science/logic/beluga/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ stdenv, fetchFromGitHub, ocamlPackages, omake }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "beluga-20180403";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Beluga-lang";
|
||||
repo = "Beluga";
|
||||
rev = "046aa59f008be70a7c4700b723bed0214ea8b687";
|
||||
sha256 = "0m68y0r0wdw3mg2jks68bihaww7sg305zdfnic1rkndq2cxv0mld";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with ocamlPackages; [ findlib ocamlbuild omake ];
|
||||
buildInputs = with ocamlPackages; [ ocaml ulex ocaml_extlib ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -r bin $out/
|
||||
|
||||
mkdir -p $out/share/beluga
|
||||
cp -r tools/ examples/ $out/share/beluga
|
||||
|
||||
mkdir -p $out/share/emacs/site-lisp/beluga/
|
||||
cp -r tools/beluga-mode.el $out/share/emacs/site-lisp/beluga
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A functional language for reasoning about formal systems";
|
||||
homepage = http://complogic.cs.mcgill.ca/beluga/;
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.bcdarwin ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
}
|
@ -19879,6 +19879,8 @@ with pkgs;
|
||||
|
||||
aspino = callPackage ../applications/science/logic/aspino {};
|
||||
|
||||
beluga = callPackage ../applications/science/logic/beluga { };
|
||||
|
||||
boogie = dotnetPackages.Boogie;
|
||||
|
||||
inherit (callPackage ./coq-packages.nix {})
|
||||
|
Loading…
Reference in New Issue
Block a user