Merge pull request #246823 from bcdarwin/update-beluga
beluga: 1.0 -> 1.1
This commit is contained in:
commit
4ae82b0bbe
|
@ -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