about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/earley/default.nix
blob: ab3011361e122b9a280f3c0ba6034ce00dfbaf77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ lib, fetchurl, buildDunePackage }:

buildDunePackage rec {
  version = "2.0.0";
  pname = "earley";
  src = fetchurl {
    url = "https://github.com/rlepigre/ocaml-earley/releases/download/${version}/earley-${version}.tbz";
    sha256 = "1kjr0wh3lji7f493kf48rphxnlv3sygj5a8rmx9z3xkpbd7aqyyw";
  };

  minimumOCamlVersion = "4.03";

  meta = {
    description = "Parser combinators based on Earley Algorithm";
    license = lib.licenses.cecill-b;
    maintainers = [ lib.maintainers.vbgl ];
    homepage = "https://github.com/rlepigre/ocaml-earley";
  };
}