depot/third_party/nixpkgs/pkgs/development/tools/ocaml/obelisk/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

25 lines
676 B
Nix

{ lib, fetchFromGitHub, ocamlPackages, menhir }:
ocamlPackages.buildDunePackage rec {
pname = "obelisk";
version = "0.6.0";
duneVersion = "3";
src = fetchFromGitHub {
owner = "Lelio-Brun";
repo = pname;
rev = "v${version}";
sha256 = "1jjaqa2b7msl9qd3x7j34vdh1s9alq8hbvzk8a5srb4yyfyim15b";
};
strictDeps = true;
nativeBuildInputs = [ menhir ];
buildInputs = with ocamlPackages; [ re ];
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";
};
}