opam-version: "2.0"
synopsis: "A single-consumer single-producer queue on a block device"
description: """
This is a simple queue containing variable-length items stored on a disk,
in the style of Xen shared-memory-ring."""
maintainer: "jonathan.ludlam@citrix.com"
authors: ["David Scott" "Jon Ludlam" "Si Beaumont"]
license: "ISC"
tags: ["org:mirage" "org:xapi-project"]
homepage: "https://github.com/mirage/shared-block-ring"
bug-reports: "https://github.com/mirage/shared-block-ring/issues/"
depends: [
  "ocaml"
  "cstruct" {>= "3.0.0"}
  "ppx_cstruct" {build}
  "ppx_tools" {build}
  "ppx_deriving" {build}
  "ppx_sexp_conv" {build}
  "lwt" {>= "3.2.0"}
  "lwt_log"
  "ocamlfind"
  "ounit"
  "mirage-types-lwt" {>= "3.0.0"}
  "mirage-block-unix"
  "mirage-clock-unix"
  "sexplib"
  "io-page"
  "io-page-unix" {>= "2.0.0"}
  "cmdliner"
  "bisect_ppx"
  "oasis"
  "result"
  "rresult"
  "duration"
]
flags: light-uninstall
build: [make "all"]
install: [make "install"]
remove: ["ocamlfind" "remove" "shared-block-ring"]
patches: [
  "0001-Update-the-code-to-be-safe-string-compatible.patch"
  "0002-update-opam-and-_oasis-file-for-the-lwt-lwt_log-spli.patch"
]
dev-repo: "git+https://github.com/mirage/shared-block-ring.git"
extra-files: [
  [
    "0002-update-opam-and-_oasis-file-for-the-lwt-lwt_log-spli.patch"
    "md5=9ea4c5fa8390b15a2f0e720bacd4e3b0"
  ]
  [
    "0001-Update-the-code-to-be-safe-string-compatible.patch"
    "md5=c3c826ac6958e9c9538dca1a3ee4eaec"
  ]
]
url {
  src: "https://github.com/mirage/shared-block-ring/archive/v2.4.0.tar.gz"
  checksum: "md5=6a436a91710467071ce0ee69dafb18df"
}
