eff: 5.0 → 5.1

This commit is contained in:
Vincent Laporte 2023-12-29 17:47:32 +01:00 committed by Vincent Laporte
parent 7d1045791e
commit e381fef2a8

View File

@ -1,30 +1,21 @@
{ lib, stdenv, fetchFromGitHub, which, ocamlPackages }: { lib, fetchFromGitHub, ocamlPackages }:
stdenv.mkDerivation rec { with ocamlPackages; buildDunePackage rec {
pname = "eff"; pname = "eff";
version = "5.0"; version = "5.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "matijapretnar"; owner = "matijapretnar";
repo = "eff"; repo = "eff";
rev = "v${version}"; rev = "v${version}";
sha256 = "1fslfj5d7fhj3f7kh558b8mk5wllwyq4rnhfkyd96fpy144sdcka"; hash = "sha256-0U61y41CA0YaoNk9Hsj7j6eb2V6Ku3MAjW9lMEimiC0=";
}; };
postPatch = '' nativeBuildInputs = [ menhir ];
substituteInPlace setup.ml --replace js_of_ocaml.ocamlbuild js_of_ocaml-ocamlbuild
'';
strictDeps = true; buildInputs = [ js_of_ocaml ];
nativeBuildInputs = [ which ] ++ (with ocamlPackages; [
ocaml findlib ocamlbuild menhir
]);
buildInputs = with ocamlPackages; [ js_of_ocaml js_of_ocaml-ocamlbuild ];
doCheck = true; doCheck = true;
checkTarget = "test";
meta = with lib; { meta = with lib; {
homepage = "https://www.eff-lang.org"; homepage = "https://www.eff-lang.org";
@ -36,7 +27,6 @@ stdenv.mkDerivation rec {
backtracking, multi-threading, and much more... backtracking, multi-threading, and much more...
''; '';
license = licenses.bsd2; license = licenses.bsd2;
inherit (ocamlPackages.ocaml.meta) platforms;
maintainers = [ maintainers.jirkamarsik ]; maintainers = [ maintainers.jirkamarsik ];
}; };
} }