depot/third_party/nixpkgs/pkgs/development/tools/ocaml/obelisk/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

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";
};
}