opam-version: "2.0"
synopsis: "Auto-formatter for OCaml code"
description:
  "OCamlFormat is a tool to automatically format OCaml code in a uniform style."
maintainer: ["OCamlFormat Team <ocamlformat-team@fb.com>"]
authors: ["Josh Berdine <jjb@fb.com>"]
license: "MIT"
homepage: "https://github.com/ocaml-ppx/ocamlformat"
bug-reports: "https://github.com/ocaml-ppx/ocamlformat/issues"
depends: [
  "dune" {>= "2.7"}
  "ocaml" {>= "4.06" & < "4.13"}
  "ocaml" {with-test & < "4.12"}
  "ocaml-version"
  "alcotest" {with-test}
  "base" {>= "v0.12.0" & < "v0.15"}
  "base-unix"
  "cmdliner"
  "dune-build-info"
  "fix"
  "fpath"
  "menhir"
  "ocp-indent" {with-test}
  "odoc" {>= "1.4.2"}
  "ppxlib" {>= "0.18.0" & < "0.22.0"}
  "re"
  "stdio" {< "v0.15"}
  "uuseg" {>= "10.0.0"}
  "uutf" {>= "1.0.1"}
]
build: [
  ["dune" "subst"] {dev}
  [
    "dune"
    "build"
    "-p"
    name
    "-j"
    jobs
    "@install"
    "@runtest" {with-test}
    "@doc" {with-doc}
  ]
]
dev-repo: "git+https://github.com/ocaml-ppx/ocamlformat.git"
x-commit-hash: "101d2306f5b0b23bbc25e1155c1ffd51a0bbf61e"
url {
  src:
    "https://github.com/ocaml-ppx/ocamlformat/releases/download/0.16.0/ocamlformat-0.16.0.tbz"
  checksum: [
    "sha256=b912c62b9b298a97016da09fc669c7fa9738ad4657a24d0260920205f9de92ef"
    "sha512=318e2d84dfa38a4495084786464e07a56f1aff1aa6c5df126ec763c4be0934729d018a289a78c48c5751c9e8fa2d64e98996fb46a464fd6f8b9a2fd1367459c3"
  ]
}
