opam-version: "2.0"
maintainer: "contact@ocamlpro.com"
authors: [
  "Grégoire Henry <gregoire.henry@ocamlpro.com>"
  "Louis Gesbert <louis.gesbert@ocamlpro.com>"
  "Thomas Gazagnaire <thomas@gazagnaire.org>"
  "Jun Furuse"
]
homepage: "http://www.typerex.org/ocp-indent.html"
bug-reports: "https://github.com/OCamlPro/ocp-indent/issues"
license: "LGPL-2.0-or-later"
tags: ["org:ocamlpro" "org:typerex"]
dev-repo: "git+https://github.com/OCamlPro/ocp-indent.git#nlfork"
build: [
  ["./configure" "--prefix" prefix]
  ["ocp-build" "init"]
  ["ocp-build" "make" "ocp-indent-nlfork.lib" "ocp-indent-nlfork.lib"]
]
depends: [
  "ocaml" {>= "4.02.0" & < "4.06.0"}
  "ocp-build" {build & >= "1.99.6-beta"}
  "cmdliner" {>= "1.0.0"}
]
synopsis: "ocp-indent library, \"newline tokens\" fork"
description: """
This is a modified version of the ocp-indent library, which is based on a
different lexer, using newline tokens and banning multi-line ones, which is more
convenient for some applications.

The library is exported as `ocp-indent-nlfork`, so as not to interfere with
canonical ocp-indent installations.

This package does *not* install an ocp-indent binary or related tools."""
url {
  src: "https://github.com/OCamlPro/ocp-indent/archive/nlfork-1.5.3.tar.gz"
  checksum: "md5=64f2261e65f5e182b7595392af0fad48"
}
