/
opam
55 lines (53 loc) · 1.3 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
opam-version: "2.0"
maintainer: "anil@recoil.org"
authors: [
"Anil Madhavapeddy"
"Stefano Zacchiroli"
"David Sheets"
"Thomas Gazagnaire"
"David Scott"
"Rudi Grinberg"
"Andy Ray"
]
homepage: "https://github.com/mirage/ocaml-cohttp"
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
license: "ISC"
tags: [
"org:mirage"
"org:xapi-project"
]
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
build: [make "PREFIX=%{prefix}%"]
install: [make "PREFIX=%{prefix}%" "install"]
remove: ["ocamlfind" "remove" "cohttp"]
depends: [
"ocaml" {< "5.0"}
"ocamlfind"
"re"
"uri" {>= "1.3.13" & < "1.5.0"}
"ounit"
"fieldslib" {>= "109.20.00" & < "113.01.00"}
"sexplib" {>= "109.53.00" & < "113.01.00"}
"ocamlbuild" {build}
]
depopts: [
"async"
"lwt"
"ssl"
]
conflicts: [
"async" {< "109.15.00"}
"async" {>= "113.00.00"}
"lwt" {< "2.4.3"}
"lwt" {>= "2.5.0"}
]
synopsis: "HTTP library for Lwt, Async and Mirage"
description: """
If you wish to install the Lwt_unix version, then you will also need the ssl
optional package for this version. Just do:
`opam install cohttp lwt ssl` to get a fully working HTTP(S) Lwt_unix client."""
flags: light-uninstall
url {
src: "https://github.com/mirage/ocaml-cohttp/archive/v0.10.0.tar.gz"
checksum: "md5=46e26e1327a536a1c0dddcb197ce1267"
}