depot/third_party/nixpkgs/pkgs/development/tools/ocaml/ocaml-recovery-parser/default.nix
Default email 92b3d6365d Project import generated by Copybara.
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
2022-10-30 16:09:59 +01:00

39 lines
807 B
Nix

{ lib
, fetchFromGitHub
, buildDunePackage
, fix
, menhirLib
, menhirSdk
, gitUpdater
}:
buildDunePackage rec {
pname = "ocaml-recovery-parser";
version = "0.2.4";
minimalOCamlVersion = "4.08";
useDune2 = true;
src = fetchFromGitHub {
owner = "serokell";
repo = pname;
rev = version;
sha256 = "gOKvjmlcHDOgsTllj2sPL/qNtW/rlNlEVIrosahNsAQ=";
};
propagatedBuildInputs = [
fix
menhirLib
menhirSdk
];
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "A simple fork of OCaml parser with support for error recovery";
homepage = "https://github.com/serokell/ocaml-recovery-parser";
license = with licenses; [ lgpl2Only mit mpl20 ];
maintainers = with maintainers; [ romildo ];
mainProgram = "menhir-recover";
};
}