Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchurl, buildDunePackage
2, menhir, menhirLib
3, fmt
4}:
5
6buildDunePackage rec {
7 pname = "dolmen";
8 version = "0.6";
9
10 minimalOCamlVersion = "4.08";
11
12 src = fetchurl {
13 url = "https://github.com/Gbury/dolmen/releases/download/v${version}/dolmen-v${version}.tbz";
14 sha256 = "133l23mwxa9xy340izvk4zp5jqjz2cwsm2innsgs2kg85pd39c41";
15 };
16
17 nativeBuildInputs = [ menhir ];
18 propagatedBuildInputs = [ menhirLib fmt ];
19
20 # Testr are not compatible with menhir 20211128
21 doCheck = false;
22
23 meta = {
24 description = "An OCaml library providing clean and flexible parsers for input languages";
25 license = lib.licenses.bsd2;
26 maintainers = [ lib.maintainers.vbgl ];
27 homepage = "https://github.com/Gbury/dolmen";
28 };
29}