nixpkgs/pkgs/development/ocaml-modules/menhir/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

18 lines
343 B
Nix

{ lib, fetchFromGitLab, buildDunePackage
, menhirLib, menhirSdk
}:
buildDunePackage rec {
pname = "menhir";
minimalOCamlVersion = "4.03";
inherit (menhirLib) version src;
buildInputs = [ menhirLib menhirSdk ];
meta = menhirSdk.meta // {
description = "A LR(1) parser generator for OCaml";
mainProgram = "menhir";
};
}