at 23.11-beta 29 lines 662 B view raw
1{ lib, fetchFromGitHub, ocaml, buildDunePackage 2, stdlib-shims 3}: 4 5buildDunePackage rec { 6 version = "3.0.0"; 7 pname = "earley"; 8 src = fetchFromGitHub { 9 owner = "rlepigre"; 10 repo = "ocaml-earley"; 11 rev = version; 12 sha256 = "1vi58zdxchpw6ai0bz9h2ggcmg8kv57yk6qbx82lh47s5wb3mz5y"; 13 }; 14 15 minimumOCamlVersion = "4.07"; 16 useDune2 = true; 17 18 buildInputs = [ stdlib-shims ]; 19 20 doCheck = true; 21 22 meta = { 23 description = "Parser combinators based on Earley Algorithm"; 24 homepage = "https://github.com/rlepigre/ocaml-earley"; 25 license = lib.licenses.cecill-b; 26 maintainers = [ lib.maintainers.vbgl ]; 27 mainProgram = "pa_ocaml"; 28 }; 29}