2021-08-02 05:49:30 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
|
|
|
, menhir, menhirLib
|
|
|
|
, fmt
|
2024-09-26 05:06:42 +00:00
|
|
|
, hmap
|
2023-09-13 04:50:15 +00:00
|
|
|
, qcheck
|
2021-08-02 05:49:30 +00:00
|
|
|
}:
|
2017-01-28 17:37:44 +00:00
|
|
|
|
2021-08-02 05:49:30 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "dolmen";
|
2024-09-26 05:06:42 +00:00
|
|
|
version = "0.10";
|
2021-08-02 05:49:30 +00:00
|
|
|
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2023-09-13 04:50:15 +00:00
|
|
|
url = "https://github.com/Gbury/dolmen/releases/download/v${version}/dolmen-${version}.tbz";
|
2024-09-26 05:06:42 +00:00
|
|
|
hash = "sha256-xchfd+OSTzeOjYLxZu7+QTG04EG/nN7KRnQQ8zxx+mE=";
|
2021-08-02 05:49:30 +00:00
|
|
|
};
|
2017-01-28 17:37:44 +00:00
|
|
|
|
2022-02-22 09:59:04 +00:00
|
|
|
nativeBuildInputs = [ menhir ];
|
2024-09-26 05:06:42 +00:00
|
|
|
propagatedBuildInputs = [ menhirLib fmt hmap ];
|
2017-01-28 17:37:44 +00:00
|
|
|
|
2023-09-13 04:50:15 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
checkInputs = [ qcheck ];
|
2017-01-28 17:37:44 +00:00
|
|
|
|
2021-01-21 00:24:35 +00:00
|
|
|
meta = {
|
|
|
|
description = "OCaml library providing clean and flexible parsers for input languages";
|
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2021-08-02 05:49:30 +00:00
|
|
|
homepage = "https://github.com/Gbury/dolmen";
|
2021-01-21 00:24:35 +00:00
|
|
|
};
|
2017-01-28 17:37:44 +00:00
|
|
|
}
|