f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
26 lines
702 B
Nix
26 lines
702 B
Nix
{ lib, fetchFromGitHub, ocamlPackages, menhir }:
|
|
|
|
ocamlPackages.buildDunePackage rec {
|
|
pname = "obelisk";
|
|
version = "0.7.0";
|
|
duneVersion = "3";
|
|
src = fetchFromGitHub {
|
|
owner = "Lelio-Brun";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-M/pQvuS8hlpeqd6QBDTHQzqIVFIqGUfj0igVPW2Xwwc=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [ menhir ];
|
|
buildInputs = with ocamlPackages; [ re ];
|
|
|
|
meta = {
|
|
description = "Simple tool which produces pretty-printed output from a Menhir parser file (.mly)";
|
|
mainProgram = "obelisk";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
homepage = "https://github.com/Lelio-Brun/Obelisk";
|
|
};
|
|
}
|