2022-03-05 16:20:37 +00:00
|
|
|
{ lib, fetchFromGitHub, ocamlPackages, menhir }:
|
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";
|
2023-02-02 18:25:31 +00:00
|
|
|
duneVersion = "3";
|
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
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ menhir ];
|
|
|
|
buildInputs = with ocamlPackages; [ 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
|
|
|
}
|