-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
69 lines (63 loc) · 1.82 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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"
doc: "https://mirage.github.io/ocaml-qcow"
tags: [
"org:mirage"
]
build: [
["jbuilder" "subst" "-p" name] {dev}
["jbuilder" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "4.03.0"}
"astring"
"cstruct" {< "4.0.0"}
"result"
"prometheus"
"mirage-types-lwt" {>= "3.0.0" & < "3.7.0"}
"lwt"
"mirage-block" {>= "0.2" & < "2.0.0"}
"mirage-block-lwt"
"mirage-block-unix" {>= "2.3.0"}
"mirage-time" {< "2.0.0"}
"mirage-time-lwt"
"sexplib"
"logs"
"fmt" {>= "0.8.2"}
"io-page-unix" {>= "2.0.0"}
"jbuilder" {>= "1.0+beta10"}
"ppx_tools"
"ppx_sexp_conv"
"ppx_type_conv" {build}
"ounit" {with-test}
"mirage-block-ramdisk" {with-test}
"ezjsonm" {with-test}
"nbd" {with-test & >= "2.0.1"}
]
synopsis: "Support for Qcow2 images"
description: """
[![Build Status](https://travis-ci.org/mirage/ocaml-qcow.png?branch=master)](https://travis-ci.org/mirage/ocaml-qcow) [![Coverage Status](https://coveralls.io/repos/mirage/ocaml-qcow/badge.png?branch=master)](https://coveralls.io/r/mirage/ocaml-qcow?branch=master)
Please read [the API documentation](https://mirage.github.io/ocaml-qcow/).
Features
--------
- supports `resize`
- exposes sparseness information
- produces files which can be understood by qemu (although not in
reverse since we don't support many features)
Example
-------
In a top-level like utop:
```ocaml"""
url {
src:
"https://github.com/mirage/ocaml-qcow/releases/download/0.10.4/qcow-0.10.4.tbz"
checksum: [
"sha256=06834513c96f3167796c8358316b1a7e15c7c619f430b0d4dc322bf354370f00"
"md5=27e3a0ab128c53acc4da3e6ce5724e87"
]
}