1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 17:25:11 +00:00
nixpkgs/pkgs/development/ocaml-modules/earley/default.nix
2020-10-06 22:34:54 +02:00

29 lines
632 B
Nix

{ lib, fetchFromGitHub, ocaml, buildDunePackage
, stdlib-shims
}:
buildDunePackage rec {
version = "3.0.0";
pname = "earley";
src = fetchFromGitHub {
owner = "rlepigre";
repo = "ocaml-earley";
rev = version;
sha256 = "1vi58zdxchpw6ai0bz9h2ggcmg8kv57yk6qbx82lh47s5wb3mz5y";
};
minimumOCamlVersion = "4.07";
useDune2 = true;
buildInputs = [ stdlib-shims ];
doCheck = true;
meta = {
description = "Parser combinators based on Earley Algorithm";
license = lib.licenses.cecill-b;
maintainers = [ lib.maintainers.vbgl ];
homepage = "https://github.com/rlepigre/ocaml-earley";
};
}