-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
53 lines (53 loc) · 1.45 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
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"}
"base-bytes"
"cstruct" {< "3.4.0"}
"result"
"io-page-unix" {>= "2.0.0"}
"mirage-types-lwt" {>= "2.6.0" & < "3.0.0"}
"lwt" {< "4.0.0"}
"mirage-block" {>= "0.2" & < "1.0"}
"mirage-block-unix" {>= "2.1.0" & < "2.5.0"}
"cmdliner"
"sexplib"
"logs"
"fmt" {>= "0.8.2"}
"astring"
"ocamlfind" {build}
"oasis" {build}
"ppx_tools"
"ppx_deriving"
"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: "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.4.2.tar.gz"
checksum: "md5=9e2319e179d5d920d8d29a5c92b69afb"
}