2021-11-22 18:59:37 +00:00
|
|
|
{ lib, fetchFromGitHub, ocamlPackages }:
|
2017-08-04 05:46:07 +00:00
|
|
|
|
2020-11-26 06:01:28 +00:00
|
|
|
ocamlPackages.buildDunePackage rec {
|
2021-01-21 00:55:55 +00:00
|
|
|
pname = "obelisk";
|
2021-11-22 18:59:37 +00:00
|
|
|
version = "0.6.0";
|
2021-01-21 00:55:55 +00:00
|
|
|
useDune2 = true;
|
2021-11-22 18:59:37 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Lelio-Brun";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1jjaqa2b7msl9qd3x7j34vdh1s9alq8hbvzk8a5srb4yyfyim15b";
|
2021-01-21 00:55:55 +00:00
|
|
|
};
|
2017-08-04 05:46:07 +00:00
|
|
|
|
2021-01-21 00:55:55 +00:00
|
|
|
buildInputs = with ocamlPackages; [ menhir re ];
|
2017-08-04 05:46:07 +00:00
|
|
|
|
2021-01-21 00:55:55 +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";
|
|
|
|
};
|
2017-08-04 05:46:07 +00:00
|
|
|
}
|