mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
18 lines
324 B
Nix
18 lines
324 B
Nix
{ lib, fetchFromGitLab, buildDunePackage
|
|
, menhirLib, menhirSdk
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "menhir";
|
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
inherit (menhirLib) version src useDune2;
|
|
|
|
buildInputs = [ menhirLib menhirSdk ];
|
|
|
|
meta = menhirSdk.meta // {
|
|
description = "A LR(1) parser generator for OCaml";
|
|
};
|
|
}
|