summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/dolmen/default.nix
blob: 9a21da9868142d3eeab88a8f6d8f5caef82b13f6 (plain) (blame)
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
{ lib, fetchurl, buildDunePackage
, menhir, menhirLib
, fmt
}:

buildDunePackage rec {
  pname = "dolmen";
  version = "0.6";

  useDune2 = true;

  minimalOCamlVersion = "4.08";

  src = fetchurl {
    url = "https://github.com/Gbury/dolmen/releases/download/v${version}/dolmen-v${version}.tbz";
    sha256 = "133l23mwxa9xy340izvk4zp5jqjz2cwsm2innsgs2kg85pd39c41";
  };

  buildInputs = [ menhir ];
  propagatedBuildInputs = [ menhirLib fmt ];

  # Testr are not compatible with menhir 20211128
  doCheck = false;

  meta = {
    description = "An OCaml library providing clean and flexible parsers for input languages";
    license = lib.licenses.bsd2;
    maintainers = [ lib.maintainers.vbgl ];
    homepage = "https://github.com/Gbury/dolmen";
  };
}