ocamlPackages.lrgrep: init at 0.9

This commit is contained in:
Vincent Laporte
2026-07-16 09:51:34 +02:00
parent 3c1e9970b9
commit 37e7405d97
2 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
{
lib,
fetchurl,
buildDunePackage,
menhir,
cmon,
menhirLib,
menhirSdk,
}:
buildDunePackage (finalAttrs: {
pname = "lrgrep";
version = "0.9";
minimalOCamlVersion = "4.14";
src = fetchurl {
url = "https://github.com/let-def/lrgrep/releases/download/v${finalAttrs.version}/lrgrep-${finalAttrs.version}.tbz";
hash = "sha256-5T3hLkxcvmvKAGQ1kyZrT5+i4/ahOBle7/ekMp9cHHU=";
};
nativeBuildInputs = [ menhir ];
propagatedBuildInputs = [
cmon
menhirLib
menhirSdk
];
doCheck = true;
meta = {
license = lib.licenses.isc;
description = "Detailed error messages for Menhir-generated parsers";
homepage = "https://github.com/let-def/lrgrep";
};
})

View File

@@ -1161,6 +1161,8 @@ let
lreplay = callPackage ../development/ocaml-modules/lreplay { };
lrgrep = callPackage ../development/ocaml-modules/lrgrep { };
lru = callPackage ../development/ocaml-modules/lru { };
lsp = callPackage ../development/ocaml-modules/ocaml-lsp/lsp.nix { };