depot/third_party/nixpkgs/pkgs/development/ocaml-modules/dolmen/default.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

32 lines
735 B
Nix

{ lib, fetchurl, buildDunePackage
, menhir, menhirLib
, fmt
, hmap
, qcheck
}:
buildDunePackage rec {
pname = "dolmen";
version = "0.10";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/Gbury/dolmen/releases/download/v${version}/dolmen-${version}.tbz";
hash = "sha256-xchfd+OSTzeOjYLxZu7+QTG04EG/nN7KRnQQ8zxx+mE=";
};
nativeBuildInputs = [ menhir ];
propagatedBuildInputs = [ menhirLib fmt hmap ];
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";
};
}