opam-version: "2.0"
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
authors: ["Daniel Bünzli <daniel.buenzl i@erratique.ch>"]
homepage: "http://ocaml.org"
doc: "https://ocaml.github.io/uchar/"
dev-repo: "git+https://github.com/ocaml/uchar.git"
bug-reports: "https://github.com/ocaml/uchar/issues"
tags: [ "text" "character" "unicode" "compatibility" "org:ocaml.org" ]
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
depends: [
  "ocaml" {>= "3.12.0"}
  "ocamlbuild" {build}
]
build: [
  ["ocaml" "pkg/git.ml"]
  [
    "ocaml"
    "pkg/build.ml"
    "native=%{ocaml:native}%"
    "native-dynlink=%{ocaml:native-dynlink}%"
  ]
]
synopsis: "Compatibility library for OCaml's Uchar module"
description: """
The `uchar` package provides a compatibility library for the
[`Uchar`][1] module introduced in OCaml 4.03.

The `uchar` package is distributed under the license of the OCaml
compiler. See [LICENSE](LICENSE) for details.

[1]: http://caml.inria.fr/pub/docs/manual-ocaml/libref/Uchar.html"""
url {
  src:
    "https://github.com/ocaml/uchar/releases/download/v0.0.2/uchar-0.0.2.tbz"
  checksum: [
    "sha256=47397f316cbe76234af53c74a1f9452154ba3bdb54fced5caac959f50f575af0"
    "md5=c9ba2c738d264c420c642f7bb1cf4a36"
  ]
}
