You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.4 KiB
39 lines
1.4 KiB
![]()
6 years ago
|
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/uutf"
|
||
|
doc: "http://erratique.ch/software/uutf/doc/Uutf"
|
||
|
dev-repo: "git+http://erratique.ch/repos/uutf.git"
|
||
|
bug-reports: "https://github.com/dbuenzli/uutf/issues"
|
||
|
tags: [ "unicode" "text" "utf-8" "utf-16" "codec" "org:erratique" ]
|
||
|
license: "ISC"
|
||
|
depends: [
|
||
|
"ocaml" {>= "4.01.0"}
|
||
|
"ocamlfind" {build}
|
||
|
"ocamlbuild" {build}
|
||
|
"topkg" {build}
|
||
|
"uchar"
|
||
|
]
|
||
|
depopts: ["cmdliner"]
|
||
|
conflicts: ["cmdliner" { < "0.9.6"} ]
|
||
|
build: [[
|
||
|
"ocaml" "pkg/pkg.ml" "build"
|
||
|
"--pinned" "%{pinned}%"
|
||
|
"--with-cmdliner" "%{cmdliner:installed}%" ]]
|
||
|
synopsis: "Non-blocking streaming Unicode codec for OCaml"
|
||
|
description: """
|
||
|
Uutf is a non-blocking streaming codec to decode and encode the UTF-8,
|
||
|
UTF-16, UTF-16LE and UTF-16BE encoding schemes. It can efficiently
|
||
|
work character by character without blocking on IO. Decoders perform
|
||
|
character position tracking and support newline normalization.
|
||
|
|
||
|
Functions are also provided to fold over the characters of UTF encoded
|
||
|
OCaml string values and to directly encode characters in OCaml
|
||
|
Buffer.t values.
|
||
|
|
||
|
Uutf has no dependency and is distributed under the ISC license."""
|
||
|
url {
|
||
|
src: "http://erratique.ch/software/uutf/releases/uutf-1.0.1.tbz"
|
||
|
checksum: "md5=b8535f974027357094c5cdb4bf03a21b"
|
||
|
}
|