2021-08-05 21:33:18 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
|
|
|
, menhir, menhirLib
|
|
|
|
, fmt
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "dolmen";
|
|
|
|
version = "0.6";
|
|
|
|
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Gbury/dolmen/releases/download/v${version}/dolmen-v${version}.tbz";
|
|
|
|
sha256 = "133l23mwxa9xy340izvk4zp5jqjz2cwsm2innsgs2kg85pd39c41";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
nativeBuildInputs = [ menhir ];
|
2021-08-05 21:33:18 +00:00
|
|
|
propagatedBuildInputs = [ menhirLib fmt ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
# Testr are not compatible with menhir 20211128
|
|
|
|
doCheck = false;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = {
|
|
|
|
description = "An OCaml library providing clean and flexible parsers for input languages";
|
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2021-08-05 21:33:18 +00:00
|
|
|
homepage = "https://github.com/Gbury/dolmen";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|