2021-08-05 21:33:18 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
|
|
|
, menhir, menhirLib
|
|
|
|
, fmt
|
2023-10-09 19:29:22 +00:00
|
|
|
, qcheck
|
2021-08-05 21:33:18 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "dolmen";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "0.9";
|
2021-08-05 21:33:18 +00:00
|
|
|
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2023-10-09 19:29:22 +00:00
|
|
|
url = "https://github.com/Gbury/dolmen/releases/download/v${version}/dolmen-${version}.tbz";
|
|
|
|
hash = "sha256-AD21OFS6zDoz+lXtac95gXwQNppPfGvpRK8dzDZXigo=";
|
2021-08-05 21:33:18 +00:00
|
|
|
};
|
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
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
checkInputs = [ qcheck ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "OCaml library providing clean and flexible parsers for input languages";
|
2021-02-05 17:12:51 +00:00
|
|
|
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
|
|
|
}
|