{ lib, fetchFromGitLab, buildDunePackage
, menhirLib
}:

buildDunePackage rec {
  pname = "menhirSdk";

  inherit (menhirLib) version src;

  meta = menhirLib.meta // {
    description = "Compile-time library for auxiliary tools related to Menhir";
    license = with lib.licenses; [ gpl2Only ];
  };
}