2021-12-06 16:07:01 +00:00
|
|
|
{ lib, fetchFromGitHub, ocamlPackages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-12-03 08:41:04 +00:00
|
|
|
ocamlPackages.buildDunePackage rec {
|
2021-02-05 17:12:51 +00:00
|
|
|
pname = "obelisk";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "0.6.0";
|
2021-02-05 17:12:51 +00:00
|
|
|
useDune2 = true;
|
2021-12-06 16:07:01 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Lelio-Brun";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1jjaqa2b7msl9qd3x7j34vdh1s9alq8hbvzk8a5srb4yyfyim15b";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
buildInputs = with ocamlPackages; [ menhir re ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = {
|
|
|
|
description = "A simple tool which produces pretty-printed output from a Menhir parser file (.mly)";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
homepage = "https://github.com/Lelio-Brun/Obelisk";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|