opam-version: "2.0"
authors:      "Dave Scott <dave@recoil.org>"
maintainer:   "dave@recoil.org"
homepage:     "https://github.com/mirage/mirage-block-unix"
dev-repo:     "git+https://github.com/mirage/mirage-block-unix.git"
doc:          "https://mirage.github.io/mirage-block-unix/"
bug-reports:  "https://github.com/mirage/mirage-block-unix/issues"
tags:         "org:mirage"
license:      "ISC"
depends: [
  "ocaml" {>= "4.03.0"}
  "dune" {>="1.0"}
  "cstruct" {>= "3.0.0"}
  "cstruct-lwt"
  "cstruct" {<"3.4.0" & with-test}
  "io-page" {<"2.0.0" & with-test}
  "mirage-block-lwt" {>= "1.0.0"}
  "rresult"
  "io-page-unix" {>= "2.0.0"}
  "uri" {>= "1.9.0"}
  "logs"
  "ounit" {with-test}
  "diet" {with-test}
  "fmt" {with-test}
  "ppx_tools" {with-test}
  "ppx_sexp_conv" {with-test & < "v0.15"}
  "ppx_type_conv" {with-test}
]
build: [
  ["dune" "subst"] {pinned}
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depexts: ["linux-headers"] {os-distribution = "alpine"}
synopsis: "MirageOS disk block driver for Unix"
description: """
Unix implementation of the Mirage `BLOCK_DEVICE` interface.

This module provides raw I/O to files and block devices with as little
caching as possible.
"""
url {
  src:
    "https://github.com/mirage/mirage-block-unix/releases/download/v2.11.0/mirage-block-unix-v2.11.0.tbz"
  checksum: "md5=f2a55e7b98bb49ebcd886f1878b76797"
}
