/
opam
47 lines (47 loc) · 888 Bytes
/
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
opam-version: "2.0"
maintainer: "anil@recoil.org"
tags: [
"org:mirage"
"org:xapi-project"
]
build: [
[
"ocaml"
"setup.ml"
"-configure"
"--prefix"
prefix
"--%{ssl+lwt:enable}%-lwt"
"--%{mirage-net:enable}%-mirage"
"--%{async:enable}%-async"
]
["ocaml" "setup.ml" "-build"]
]
remove: [["ocamlfind" "remove" "cohttp"]]
depends: [
"ocaml" {< "5.0"}
"ocamlfind"
"re"
"uri" {>= "1.3.2" & < "1.5.0"}
"ounit"
"cstruct" {< "0.6.0"}
"ocamlbuild" {build}
]
depopts: [
"async"
"lwt"
"mirage-net"
"ssl"
]
conflicts: [
"async" {!= "108.00.02"}
"lwt" {>= "2.4.7"}
"lwt" {< "2.4.1"}
]
install: ["ocaml" "setup.ml" "-install"]
synopsis: "HTTP library for Lwt, Async and Mirage"
flags: light-uninstall
url {
src: "https://github.com/mirage/ocaml-cohttp/tarball/ocaml-cohttp-0.9.2"
checksum: "md5=213f2afdfd642912e11c5fd6530f12ac"
}