opam-version: "2.0"
maintainer: "Anil Madhavapeddy <anil@recoil.org>"
authors: ["Anil Madhavapeddy <anil@recoil.org>"]
homepage: "https://github.com/avsm/ocaml-yaml"
doc: "http://anil-code.github.io/ocaml-yaml"
license: "ISC"
dev-repo: "git+https://github.com/avsm/ocaml-yaml.git"
bug-reports: "https://github.com/avsm/ocaml-yaml/issues"
tags: ["org:mirage" "org:ocamllabs"]
depends: [
  "ocaml" {>= "4.06.0"}
  "jbuilder" {>= "1.0+beta17"}
  "configurator" {< "v0.15"}
  "ctypes" {>= "0.12.0"}
  "ppx_sexp_conv" {>= "v0.9.0" & < "v0.15"}
  "ocaml-migrate-parsetree" {< "2.0.0"}
  "sexplib" {< "v0.15"}
  "rresult"
  "fmt"
  "logs"
  "bos"
  "alcotest" {with-test}
  "ezjsonm" {with-test}
]
build: [
  ["jbuilder" "subst" "-p" name] {pinned}
  ["jbuilder" "build" "-p" name "-j" jobs]
  ["jbuilder" "runtest" "-p" name] {with-test}
]
synopsis: "Parse and generate YAML 1.1 files"
description: """
This is an OCaml library to parse and generate the YAML file
format.  It is intended to interoperable with the [Ezjsonm](https://github.com/mirage/ezjsonm)
JSON handling library, if the simple common subset of Yaml 
is used.  Anchors and other advanced Yaml features are not
implemented in the JSON compatibility layer.

The [Yaml module docs](http://anil-code.recoil.org/ocaml-yaml/yaml/Yaml/index.html) are browseable online."""
url {
  src:
    "https://github.com/avsm/ocaml-yaml/releases/download/v0.2.1/yaml-0.2.1.tbz"
  checksum: "md5=1955537158af5ad333ff6a7c6ff73f8f"
}
