92b3d6365d
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
39 lines
807 B
Nix
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";
|
|
};
|
|
}
|