opam-version: "2.0"
maintainer:   "Romain Calascibetta <romain.calascibetta@gmail.com>"
authors:      "Romain Calascibetta <romain.calascibetta@gmail.com>"
homepage:     "https://github.com/dinosaure/coin"
bug-reports:  "https://github.com/dinosaure/coin/issues"
dev-repo: "git+https://github.com/dinosaure/coin.git"
doc:          "https://dinosaure.github.io/coin/"
license:      "MIT"

build: [
  ["jbuilder" "subst" "-p" name] {pinned}
  ["jbuilder" "build" "-p" name "-j" jobs]
  ["jbuilder" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
  "ocaml" {>= "4.03.0"}
  "jbuilder"
  "re" {>= "1.7.2"}
  "fmt"
  "bos"
  "uutf"
  "ptmap"
  "menhir"
  "rresult"
  "angstrom"
  "cmdliner"
]
synopsis: "Coin"
description: """
----

`coin` is a little library to normalize an KOI8-{U,R} input to UTF-8. This
library uses tables provided by the Unicode Consortium:

https://ftp.unicode.org/Public/MAPPINGS/VENDORS/MISC

This project takes tables and converts them to OCaml code. Then, it provides a
non-blocking decoder to translate KOI8-{U,R} codepoint to UTF-8 codepoint."""
url {
  src:
    "https://github.com/dinosaure/coin/releases/download/v0.1.0/coin-0.1.0.tbz"
  checksum: "md5=b28ff9f05e2265ea69dcadef9d31fcf4"
}
