summaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/pacomb/default.nix
blob: 05539235afd5c9cabe4f8d60a7738e8087716352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  lib,
  buildDunePackage,
  fetchFromGitHub,
  ppxlib,
  stdlib-shims,
}:

buildDunePackage (finalAttrs: {
  pname = "pacomb";
  version = "1.4.3";
  src = fetchFromGitHub {
    owner = "craff";
    repo = "pacomb";
    tag = finalAttrs.version;
    hash = "sha256-iS5H/xnMqZjSvrvj5YkBP8j/ChIn/xbQ9xa7WipBUvQ=";
  };
  buildInputs = [
    ppxlib
  ];
  propagatedBuildInputs = [
    stdlib-shims
  ];
  minimalOCamlVersion = "5.3";

  meta = {
    description = "Parsing library based on combinators and ppx extension to write languages";
    homepage = "https://github.com/craff/pacomb";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ redianthus ];
  };
})