opam-version: "2.0"
maintainer: "john.else@citrix.com"
authors: ["Anil Madhavapeddy" "John Else" "Thomas Leonard" "Andrew Cooper" "David Scott"]
homepage:      "https://github.com/mirage/ocaml-gnt"
bug-reports:   "https://github.com/mirage/ocaml-gnt/issues"
dev-repo: "git+https://github.com/mirage/ocaml-gnt.git"
doc:           "https://mirage.github.io/ocaml-gnt"

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

depends: [
  "ocaml" {>= "4.03.0"}
  "jbuilder" {>= "1.0+beta9"}
  "xen-gnt" {= "3.0.1"}
  "io-page-unix" {>= "2.0.0"}
  "conf-xen" {build}
]
synopsis: "Grant table bindings for OCaml."
description: """
These are used to create Xen device driver "backends" (servers)
and "frontends" (clients).

This library can be used in both kernelspace (via Mirage) or in userspace
(on Linux). To see a concrete example, have a look at [mirage/ocaml-vchan]"""
url {
  src:
    "https://github.com/mirage/ocaml-gnt/releases/download/3.0.1/xen-gnt-3.0.1.tbz"
  checksum: "md5=f91b8129c2469fc2fb564d5cf3cc0b9c"
}
