2020-12-03 08:41:04 +00:00
|
|
|
{ lib, fetchurl, ocamlPackages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-12-03 08:41:04 +00:00
|
|
|
ocamlPackages.buildDunePackage rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "obelisk";
|
2020-12-03 08:41:04 +00:00
|
|
|
version = "0.5.2";
|
|
|
|
useDune2 = true;
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Lelio-Brun/Obelisk/releases/download/v${version}/obelisk-v${version}.tbz";
|
|
|
|
sha256 = "0s86gkypyrkrp83xnay258ijri3yjwj3marsjnjf8mz58z0zd9g6";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-12-03 08:41:04 +00:00
|
|
|
buildInputs = with ocamlPackages; [ menhir re ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A simple tool which produces pretty-printed output from a Menhir parser file (.mly)";
|
2020-12-03 08:41:04 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
homepage = "https://github.com/Lelio-Brun/Obelisk";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|