opam-version: "2.0"
maintainer: "dave@recoil.org"
authors: ["David Scott"]
license: "ISC"
homepage: "https://github.com/mirage/ocaml-qcow"
dev-repo: "git+https://github.com/mirage/ocaml-qcow.git"
bug-reports: "https://github.com/mirage/ocaml-qcow/issues"
tags: [
  "org:mirage"
]

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

depends: [
  "ocaml" {>= "4.03.0"}
  "qcow" {= "0.10.4"}
  "cmdliner"
  "cstruct"
  "result"
  "unix-type-representations"
  "mirage-types-lwt" {>= "3.0.0" & < "3.7.0"}
  "lwt"
  "mirage-block" {>= "0.2" & < "2.0.0"}
  "mirage-block-lwt"
  "mirage-block-unix" {>= "2.1.0"}
  "mirage-time" {< "2.0.0"}
  "mirage-time-lwt"
  "sha" {>= "1.10"}
  "sexplib" {< "v0.15"}
  "logs"
  "fmt" {>= "0.8.2"}
  "astring"
  "io-page"
  "ocamlfind" {build}
  "jbuilder"
  "ounit" {with-test}
  "mirage-block-ramdisk" {with-test}
  "ezjsonm" {with-test}
  "nbd" {with-test & >= "2.0.1"}
]
synopsis: "A command-line tool for manipulating qcow2-formatted data"
url {
  src:
    "https://github.com/mirage/ocaml-qcow/releases/download/0.10.4/qcow-0.10.4.tbz"
  checksum: "md5=27e3a0ab128c53acc4da3e6ce5724e87"
}
