opam-version: "2.0"
maintainer: "anil@recoil.org"
authors: ["Anil Madhavapeddy" "Dave Scott" "Thomas Gazagnaire"]
license: "ISC"
tags: "org:mirage"
homepage: "https://github.com/mirage/io-page"
bug-reports: "https://github.com/mirage/io-page/issues"
doc: "https://mirage.github.io/io-page/"
depends: [
  "ocaml" {>= "4.03.0"}
  "io-page" {>="2.1.0" & < "3.0.0"}
  "dune" {>= "1.0"}
  "dune-configurator"
  "cstruct" {>= "2.0.0"}
  "mirage-xen-ocaml"
]
build: [
  ["env" "OPAM_PKG_CONFIG_PATH=%{prefix}%/lib/pkgconfig" "dune" "subst"] {pinned}
  [ "env" "OPAM_PKG_CONFIG_PATH=%{prefix}%/lib/pkgconfig"
    "dune" "build" "-p" name "-j" jobs ]
]
dev-repo: "git+https://github.com/mirage/io-page.git"
synopsis: "Support for efficient handling of I/O memory pages on Xen"
description: """
IO pages are page-aligned, and wrapped in the `Cstruct` library to avoid
copying the data contained within the page.
"""
flags: deprecated
url {
  src:
    "https://github.com/mirage/io-page/releases/download/v2.1.0/io-page-v2.1.0.tbz"
  checksum: "md5=b0d25561552d3d7067f57337c5527c54"
}
