opam-version: "2.0"
synopsis: "Network Block Device (NBD) protocol implementation"
description: """\
This library allows applications to export and consume block
devices using the NBD protocol (as used by Linux, qemu etc)"""
maintainer: "Xapi project maintainers"
authors: ["Jonathan Ludlam" "David Scott" "Thomas Sanders"]
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
tags: ["org:mirage" "org:xapi-project"]
homepage: "https://github.com/xapi-project/nbd"
doc: "https://xapi-project.github.io/nbd/nbd/index.html"
bug-reports: "https://github.com/xapi-project/nbd/issues"
depends: [
  "ocaml" {>= "4.08.0"}
  "bisect_ppx" {dev & >= "2.5.0"}
  "dune" {>= "2.7.0"}
  "alcotest" {with-test}
  "alcotest-lwt" {with-test}
  "cstruct" {>= "6.0.0"}
  "io-page" {>= "2.4.0"}
  "mirage-block" {>= "3.0.0"}
  "mirage-block-unix"
  "lwt" {>= "2.7.0"}
  "lwt_log"
  "odoc" {with-doc}
  "ppx_cstruct" {>= "3.1.0"}
  "ppx_sexp_conv" {>= "v0.9.0"}
  "rresult"
  "sexplib"
  "uri"
]
conflicts: [
  "result" {< "1.5"}
]
build: [
  ["dune" "subst"] {dev}
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "build" "-p" name "-j" jobs "@doc"] {with-doc}
  ["dune" "build" "-p" name "-j" jobs "@runtest"] {with-test}
]
dev-repo: "git+https://github.com/xapi-project/nbd.git"
url {
  src:
    "https://github.com/xapi-project/nbd/archive/refs/tags/6.0.1+pipelining.tar.gz"
  checksum: [
    "sha256=816950faff7469cd56d59a339b03a9b19fe606d067af6f7f0db7ecf55ce97997"
    "sha512=4c2b9aa5c1620b9c44140656ab2957eb0e1cdfb5a2654bc7ccbe501e4eed95d532f85a71b828b2b96b883d431b6f318ccb2e09ed389a10a5422b9dbc31ca447a"
  ]
}
x-commit-hash: "9d3ecbc889042d328519c4456af276a65f7e238e"
