opam-version: "2.0"
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
authors: ["Daniel Bünzli <daniel.buenzl i@erratique.ch>"]
homepage: "http://erratique.ch/software/uunf"
doc: "http://erratique.ch/software/uunf/doc/Uunf"
dev-repo: "git+http://erratique.ch/repos/uunf.git"
bug-reports: "https://github.com/dbuenzli/uunf/issues"
tags: [ "unicode" "text" "normalization" "org:erratique" ]
license: "ISC"
depends: [
  "ocaml" {>= "4.01.0"}
  "ocamlfind" {build}
  "ocamlbuild" {build}
  "topkg" {build}
  "uchar"
]
depopts: [ "uutf" "cmdliner" ]
conflicts: [ "uutf" {< "1.0.0"} ]
build: [[
  "ocaml" "pkg/pkg.ml" "build"
  "--pinned" "%{pinned}%"
  "--with-uutf" "%{uutf:installed}%"
  "--with-cmdliner" "%{cmdliner:installed}%" ]]
synopsis: "Unicode text normalization for OCaml"
description: """
Uunf is an OCaml library for normalizing Unicode text. It supports all
Unicode [normalization forms][nf]. The library is independent from any
IO mechanism or Unicode text data structure and it can process text
without a complete in-memory representation.

Uunf has no dependency. It may optionally depend on [Uutf][uutf] for
support on OCaml UTF-X encoded strings. It is distributed under the
ISC license.

[nf]: http://www.unicode.org/reports/tr15/
[uutf]: http://erratique.ch/software/uutf"""
url {
  src: "http://erratique.ch/software/uunf/releases/uunf-11.0.0.tbz"
  checksum: "md5=b94a5fd9da5395f475a0aff1dbe2e18f"
}
