opam-version: "2.0"
synopsis: "Pretty-printing for Menhir files"
description: """
Obelisk is a simple tool which produces pretty-printed output from a Menhir parser file (.mly).
It is inspired from yacc2latex and is also written in OCaml, but is aimed at supporting features from Menhir instead of only those of ocamlyacc."""
maintainer: ["Lélio Brun <lelio.brun@inria.fr>"]
authors: ["Lélio Brun"]
license: "MIT"
homepage: "https://github.com/Lelio-Brun/Obelisk"
doc: "https://github.com/Lelio-Brun/Obelisk/blob/master/README.md"
bug-reports: "https://github.com/Lelio-Brun/obelisk/issues"
depends: [
  "ocaml" {>= "4.08"}
  "dune" {>= "2.2.0"}
  "re"
  "menhir"
]
build: [
  ["dune" "subst"] {pinned}
  [
    "dune"
    "build"
    "-p"
    name
    "-j"
    jobs
    "@install"
    "@runtest" {with-test}
    "@doc" {with-doc}
  ]
]
dev-repo: "git+https://github.com/Lelio-Brun/obelisk.git"
url {
  src:
    "https://github.com/Lelio-Brun/Obelisk/releases/download/v0.5.2/obelisk-v0.5.2.tbz"
  checksum: [
    "sha256=e6a5f6c147e557e4a4953aab3a24977ec42c232ac22bdb07ba79667ffd7c0669"
    "sha512=6e8e9384a5374eb8f18f4bea0542b2f78d53a517074225e1b172801f004689adab204354b01a19b92a2c1bdb3af63f5fce026ae0399cf3beb174ec39439d4f40"
  ]
}
