opam-version: "2.0"
maintainer: "pelzlpj@gmail.com"
build: ["env" "PREFIX=%{prefix}%" "omake"]
remove: [["env" "PREFIX=%{prefix}%" "omake" "uninstall"]]
depends: [
  "ocaml" {>= "4.01.0"}
  "omake"
  "ocamlfind" {>= "1.5.1"}
  "core" {< "111.25.00"}
  "ocplib-endian" {>= "0.7"}
  "res"
  "uint"
  "conf-capnproto" {build}
]
dev-repo: "git://github.com/pelzlpj/capnp-ocaml"
install: ["env" "PREFIX=%{prefix}%" "omake" "install"]
synopsis:
  "OCaml code generation plugin for the Cap'n Proto serialization framework"
description: """
Cap'n Proto is a multi-language code generation framework designed for
high performance through the use of lazy parsing and arena allocation.
This package provides a plugin for the Cap'n Proto compiler which enables
OCaml code generation, as well as corresponding runtime library support."""
url {
  src: "https://github.com/capnproto/capnp-ocaml/archive/v1.0.0.tar.gz"
  checksum: "md5=fadf2d058f266514e4a5227469d040f7"
}
