mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 08:30:57 +00:00
ocamlPackages.lrgrep: init at 0.9
This commit is contained in:
37
pkgs/development/ocaml-modules/lrgrep/default.nix
Normal file
37
pkgs/development/ocaml-modules/lrgrep/default.nix
Normal 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";
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user