beluga: 1.0 -> 1.1
This commit is contained in:
parent
89c41fa535
commit
93a35301f1
1 changed files with 19 additions and 16 deletions
|
@ -1,28 +1,30 @@
|
||||||
{ lib, fetchFromGitHub, ocamlPackages, rsync }:
|
{ lib, fetchFromGitHub, ocamlPackages }:
|
||||||
|
|
||||||
ocamlPackages.buildDunePackage rec {
|
ocamlPackages.buildDunePackage rec {
|
||||||
pname = "beluga";
|
pname = "beluga";
|
||||||
version = "1.0";
|
version = "1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Beluga-lang";
|
owner = "Beluga-lang";
|
||||||
repo = "Beluga";
|
repo = "Beluga";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "1ziqjfv8jwidl8lj2mid2shhgqhv31dfh5wad2zxjpvf6038ahsw";
|
hash = "sha256-GN4ZOlhs8ktAcCu7iE4lh6HxhTu+KCJJbIvcI4MGcr0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
duneVersion = "3";
|
duneVersion = "3";
|
||||||
|
|
||||||
buildInputs = with ocamlPackages; [
|
buildInputs = with ocamlPackages; [
|
||||||
gen sedlex extlib dune-build-info linenoise
|
gen
|
||||||
|
sedlex
|
||||||
|
extlib
|
||||||
|
dune-build-info
|
||||||
|
linenoise
|
||||||
|
omd
|
||||||
|
uri
|
||||||
|
ounit2
|
||||||
|
yojson
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
patchShebangs ./TEST ./run_harpoon_test.sh
|
|
||||||
'';
|
|
||||||
|
|
||||||
checkPhase = "./TEST";
|
|
||||||
nativeCheckInputs = [ rsync ];
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -32,9 +34,10 @@ ocamlPackages.buildDunePackage rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A functional language for reasoning about formal systems";
|
description = "A functional language for reasoning about formal systems";
|
||||||
homepage = "http://complogic.cs.mcgill.ca/beluga/";
|
homepage = "https://complogic.cs.mcgill.ca/beluga";
|
||||||
license = licenses.gpl3Plus;
|
changelog = "https://github.com/Beluga-lang/Beluga/releases/tag/v${version}";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
maintainers = [ maintainers.bcdarwin ];
|
maintainers = [ maintainers.bcdarwin ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue