opam-version: "2.0"
maintainer:    "jonathan.ludlam@eu.citrix.com"
authors: [
  "Vincent Bernardoff"
  "Jon Ludlam"
  "David Scott"
]
homepage:    "http://github.com/mirage/ocaml-vchan"
bug-reports: "http://github.com/mirage/ocaml-vchan/issues"
dev-repo: "git+http://github.com/mirage/ocaml-vchan.git"
doc:         "http://mirage.github.io/ocaml-vchan"
license:     "ISC"

build: [
  [ "jbuilder" "subst" "-p" name] {pinned}
  [ "jbuilder" "build" "-p" name "-j" jobs ]
]

depends: [
  "ocaml" {>= "4.02.0" & < "4.06.0"}
  "ocamlfind" {build}
  "jbuilder" {>= "1.0+beta9"}
  "vchan" {= "3.0.0"}
  "lwt" {>= "2.5.0"}
  "cstruct" {>= "3.0.0"}
  "ppx_tools"
  "ppx_sexp_conv" {< "v0.15"}
  "ppx_cstruct"
  "io-page"
  "mirage-flow-lwt" {>= "1.0.0"}
  "xenstore" {>= "1.2.2"}
  "xenstore_transport"
  "xen-evtchn-unix"
  "xen-gnt-unix"
  "sexplib" {< "v0.15"}
  "cmdliner"
  "result"
  "ounit" {with-test}
]
tags: "org:mirage"
synopsis: "Xen Vchan implementation"
description: """
Vchan is a high performance inter-domain communications protocol using
shared memory. This implementation runs in both userspace and
kernelspace using Mirage."""
url {
  src:
    "https://github.com/mirage/ocaml-vchan/releases/download/3.0.0/vchan-3.0.0.tbz"
  checksum: "md5=8be9a2d7df23fdf8983daecef3454b5d"
}
