My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/tools/ocaml/ocaml-recovery-parser/default.nix

36 lines
751 B

{ lib
, fetchFromGitHub
, buildDunePackage
, fix
, menhirLib
, menhirSdk
}:
buildDunePackage rec {
pname = "ocaml-recovery-parser";
version = "0.2.2";
minimalOCamlVersion = "4.08";
useDune2 = true;
src = fetchFromGitHub {
owner = "serokell";
repo = pname;
rev = version;
sha256 = "qQHvAPNQBbsvlQRh19sz9BtfhhMOp3uPthVozc1fpw8=";
};
propagatedBuildInputs = [
fix
menhirLib
menhirSdk
];
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";
};
}