opam-version: "2.0"
maintainer:   "dave@recoil.org"
authors:      ["Vincent Hanquez" "Anil Madhavapeddy" "David Scott" "Jonathan Ludlam"]
homepage:     "https://github.com/mirage/ocaml-evtchn"
dev-repo: "git+https://github.com/mirage/ocaml-evtchn.git"
bug-reports:  "https://github.com/mirage/ocaml-evtchn/issues"
tags:         ["org:mirage" "org:xapi-project"]

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

depends: [
  "ocaml" {>= "4.00.0"}
  "ocamlfind" {build}
  "jbuilder" {>= "1.0+beta9"}
  "xen-evtchn" {= "2.0.0"}
  "lwt"
  "cmdliner"
  "ounit" {with-test}
  "conf-xen" {build}
]
synopsis: "Xen event channel bindings."
description:
  "These are needed for building Xen device drivers (e.g. mirage-block-xen)"
url {
  src:
    "https://github.com/mirage/ocaml-evtchn/releases/download/2.0.0/xen-evtchn-2.0.0.tbz"
  checksum: "md5=4c34efff1b711816e8db0d730c044359"
}
