-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
52 lines (52 loc) · 1.46 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
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: [
[make "PREFIX=%{prefix}%"]
["ocaml" "setup.ml" "-configure" "--enable-tests"] {with-test}
["ocaml" "setup.ml" "-build"] {with-test}
["ocaml" "setup.ml" "-test"] {with-test}
["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: [make "PREFIX=%{prefix}%" "install"]
remove: [
[make "PREFIX=%{prefix}%" "uninstall"]
]
depends: [
"ocaml" {>= "4.02.0"}
"camlp4"
"type_conv"
"base-bytes"
"cstruct" {< "3.0.0"}
"type_conv"
"result"
"io-page" {< "2.0.0"}
"mirage-types-lwt" {>= "2.6.0" & < "3.0.0"}
"lwt"
"mirage-block" {>= "0.2" & < "1.0"}
"mirage-block-unix" {>= "2.1.0" & < "2.5.0"}
"cmdliner"
"sexplib" {< "113.24.00"}
"ocamlfind" {build}
"oasis" {build}
"ounit" {with-test}
"mirage-block-ramdisk" {with-test}
"ezjsonm" {with-test}
"nbd" {with-test & >= "2.0.1"}
]
synopsis: "Read and write images in Qcow2 format"
description: """
If you want to `create`, `read`, `write` or analyse qcow2-formatted
data in pure OCaml then this library is for you!"""
url {
src: "https://github.com/mirage/ocaml-qcow/archive/v0.2.tar.gz"
checksum: [
"sha256=bd4e703233a8b7cd2070a6806946aa1ed4dcf1b7cbd5c9657bd56aaa16b47beb"
"md5=d507a2fac0a8abacda020acbc72ba3c3"
]
}