depot/third_party/nixpkgs/pkgs/development/ocaml-modules/dolmen/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

31 lines
722 B
Nix

{ lib, fetchurl, buildDunePackage
, menhir, menhirLib
, fmt
, qcheck
}:
buildDunePackage rec {
pname = "dolmen";
version = "0.9";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/Gbury/dolmen/releases/download/v${version}/dolmen-${version}.tbz";
hash = "sha256-AD21OFS6zDoz+lXtac95gXwQNppPfGvpRK8dzDZXigo=";
};
nativeBuildInputs = [ menhir ];
propagatedBuildInputs = [ menhirLib fmt ];
doCheck = true;
checkInputs = [ qcheck ];
meta = {
description = "OCaml library providing clean and flexible parsers for input languages";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
homepage = "https://github.com/Gbury/dolmen";
};
}