Skip to content

Commit 0f0319b

Browse files
authored
Merge pull request #24139 from mseri/release-cohttp-v4.1.2
[new release] cohttp, cohttp-top, cohttp-mirage, cohttp-lwt, cohttp-lwt-unix, cohttp-lwt-jsoo and cohttp-async (4.1.2)
2 parents a712da4 + aba7907 commit 0f0319b

File tree

7 files changed

+373
-0
lines changed
  • packages
    • cohttp-async/cohttp-async.4.1.2
    • cohttp-lwt-jsoo/cohttp-lwt-jsoo.4.1.2
    • cohttp-lwt-unix/cohttp-lwt-unix.4.1.2
    • cohttp-lwt/cohttp-lwt.4.1.2
    • cohttp-mirage/cohttp-mirage.4.1.2
    • cohttp-top/cohttp-top.4.1.2
    • cohttp/cohttp.4.1.2

7 files changed

+373
-0
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
opam-version: "2.0"
2+
maintainer: "anil@recoil.org"
3+
authors: [
4+
"Anil Madhavapeddy"
5+
"Stefano Zacchiroli"
6+
"David Sheets"
7+
"Thomas Gazagnaire"
8+
"David Scott"
9+
"Rudi Grinberg"
10+
"Andy Ray"
11+
]
12+
synopsis: "CoHTTP implementation for the Async concurrency library"
13+
description: """
14+
An implementation of an HTTP client and server using the Async
15+
concurrency library. See the `Cohttp_async` module for information
16+
on how to use this. The package also installs `cohttp-curl-async`
17+
and a `cohttp-server-async` binaries for quick uses of a HTTP(S)
18+
client and server respectively.
19+
"""
20+
license: "ISC"
21+
tags: ["org:mirage" "org:xapi-project"]
22+
homepage: "https://github.com/mirage/ocaml-cohttp"
23+
doc: "https://mirage.github.io/ocaml-cohttp/"
24+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
25+
depends: [
26+
"ocaml" {>= "4.08"}
27+
"dune" {>= "2.0"}
28+
"async_kernel" {>= "v0.14.0" & < "v0.15"}
29+
"async_unix" {>= "v0.14.0" & < "v0.15"}
30+
"async" {>= "v0.14.0" & < "v0.15"}
31+
"base" {>= "v0.11.0" & < "v0.15"}
32+
"core" {with-test & < "v0.15"}
33+
"cohttp" {=version}
34+
"conduit-async" {>="1.2.0"}
35+
"magic-mime"
36+
"mirage-crypto" {with-test}
37+
"logs"
38+
"fmt" {>= "0.8.2"}
39+
"sexplib0"
40+
"ppx_sexp_conv" {>= "v0.13.0" & < "v0.15"}
41+
"ounit" {with-test}
42+
"uri" {>= "2.0.0"}
43+
"uri-sexp"
44+
"ipaddr"
45+
]
46+
build: [
47+
["dune" "subst"] {dev}
48+
["dune" "build" "-p" name "-j" jobs]
49+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
50+
]
51+
available: arch != "s390x"
52+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
53+
url {
54+
src:
55+
"https://github.com/mirage/ocaml-cohttp/releases/download/v4.1.2/cohttp-4.1.2.tbz"
56+
checksum: [
57+
"sha256=f027f48e132f214b3e27b63c99b247b150549e70bd6e27ad16da947ed392fa20"
58+
"sha512=c8fbf840141faecb207af3ad7d2bfcdf8b8bced6c6ca4d5a22b6982d1be13f748fa6e3997c6d97351285cd3a30f57f20fd418b7195a735a13d48ba3bcdf8e23c"
59+
]
60+
}
61+
x-commit-hash: "4819af50a7903cff8fe45e87ead2e39dd33a727f"
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
opam-version: "2.0"
2+
maintainer: "anil@recoil.org"
3+
authors: [
4+
"Anil Madhavapeddy"
5+
"Stefano Zacchiroli"
6+
"David Sheets"
7+
"Thomas Gazagnaire"
8+
"David Scott"
9+
"Rudi Grinberg"
10+
"Andy Ray"
11+
]
12+
synopsis: "CoHTTP implementation for the Js_of_ocaml JavaScript compiler"
13+
description: """
14+
An implementation of an HTTP client for JavaScript, but using the
15+
CoHTTP types. This lets you build HTTP clients that can compile
16+
natively (using one of the other Cohttp backends such as `cohttp-lwt-unix`)
17+
and also to native JavaScript via js_of_ocaml.
18+
"""
19+
license: "ISC"
20+
tags: ["org:mirage" "org:xapi-project"]
21+
homepage: "https://github.com/mirage/ocaml-cohttp"
22+
doc: "https://mirage.github.io/ocaml-cohttp/"
23+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
24+
depends: [
25+
"ocaml" {>= "4.08"}
26+
"dune" {>= "2.0"}
27+
"cohttp" {= version}
28+
"cohttp-lwt" {= version}
29+
"logs"
30+
"lwt" {>= "3.0.0"}
31+
"lwt_ppx" {with-test}
32+
"conf-npm" {with-test}
33+
"js_of_ocaml" {>= "3.3.0"}
34+
"js_of_ocaml-ppx" {>= "3.3.0"}
35+
"js_of_ocaml-lwt" {>= "3.5.0"}
36+
]
37+
build: [
38+
["dune" "subst"] {dev}
39+
["dune" "build" "-p" name "-j" jobs]
40+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
41+
]
42+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
43+
url {
44+
src:
45+
"https://github.com/mirage/ocaml-cohttp/releases/download/v4.1.2/cohttp-4.1.2.tbz"
46+
checksum: [
47+
"sha256=f027f48e132f214b3e27b63c99b247b150549e70bd6e27ad16da947ed392fa20"
48+
"sha512=c8fbf840141faecb207af3ad7d2bfcdf8b8bced6c6ca4d5a22b6982d1be13f748fa6e3997c6d97351285cd3a30f57f20fd418b7195a735a13d48ba3bcdf8e23c"
49+
]
50+
}
51+
x-commit-hash: "4819af50a7903cff8fe45e87ead2e39dd33a727f"
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
opam-version: "2.0"
2+
maintainer: "anil@recoil.org"
3+
authors: [
4+
"Anil Madhavapeddy"
5+
"Stefano Zacchiroli"
6+
"David Sheets"
7+
"Thomas Gazagnaire"
8+
"David Scott"
9+
"Rudi Grinberg"
10+
"Andy Ray"
11+
]
12+
synopsis: "CoHTTP implementation for Unix and Windows using Lwt"
13+
description: """
14+
An implementation of an HTTP client and server using the Lwt
15+
concurrency library. See the `Cohttp_lwt_unix` module for information
16+
on how to use this. The package also installs `cohttp-curl-lwt`
17+
and a `cohttp-server-lwt` binaries for quick uses of a HTTP(S)
18+
client and server respectively.
19+
20+
Although the name implies that this only works under Unix, it
21+
should also be fine under Windows too."""
22+
license: "ISC"
23+
tags: ["org:mirage" "org:xapi-project"]
24+
homepage: "https://github.com/mirage/ocaml-cohttp"
25+
doc: "https://mirage.github.io/ocaml-cohttp/"
26+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
27+
depends: [
28+
"ocaml" {>= "4.08"}
29+
"dune" {>= "2.0"}
30+
"conduit-lwt" {>= "5.0.0"}
31+
"conduit-lwt-unix" {>= "5.0.0"}
32+
"cmdliner" {>= "1.1.0"}
33+
"magic-mime"
34+
"logs"
35+
"fmt" {>= "0.8.2"}
36+
"cohttp-lwt" {= version}
37+
"ppx_sexp_conv" {>= "v0.13.0"}
38+
"lwt" {>= "3.0.0"}
39+
"base-unix"
40+
"ounit" {with-test}
41+
]
42+
build: [
43+
["dune" "subst"] {dev}
44+
["dune" "build" "-p" name "-j" jobs]
45+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
46+
]
47+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
48+
url {
49+
src:
50+
"https://github.com/mirage/ocaml-cohttp/releases/download/v4.1.2/cohttp-4.1.2.tbz"
51+
checksum: [
52+
"sha256=f027f48e132f214b3e27b63c99b247b150549e70bd6e27ad16da947ed392fa20"
53+
"sha512=c8fbf840141faecb207af3ad7d2bfcdf8b8bced6c6ca4d5a22b6982d1be13f748fa6e3997c6d97351285cd3a30f57f20fd418b7195a735a13d48ba3bcdf8e23c"
54+
]
55+
}
56+
x-commit-hash: "4819af50a7903cff8fe45e87ead2e39dd33a727f"
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
opam-version: "2.0"
2+
maintainer: "anil@recoil.org"
3+
authors: [
4+
"Anil Madhavapeddy"
5+
"Stefano Zacchiroli"
6+
"David Sheets"
7+
"Thomas Gazagnaire"
8+
"David Scott"
9+
"Rudi Grinberg"
10+
"Andy Ray"
11+
]
12+
synopsis: "CoHTTP implementation using the Lwt concurrency library"
13+
description: """
14+
This is a portable implementation of HTTP that uses the Lwt
15+
concurrency library to multiplex IO. It implements as much of the
16+
logic in an OS-independent way as possible, so that more specialised
17+
modules can be tailored for different targets. For example, you
18+
can install `cohttp-lwt-unix` or `cohttp-lwt-jsoo` for a Unix or
19+
JavaScript backend, or `cohttp-mirage` for the MirageOS unikernel
20+
version of the library. All of these implementations share the same
21+
IO logic from this module."""
22+
license: "ISC"
23+
tags: ["org:mirage" "org:xapi-project"]
24+
homepage: "https://github.com/mirage/ocaml-cohttp"
25+
doc: "https://mirage.github.io/ocaml-cohttp/"
26+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
27+
depends: [
28+
"ocaml" {>= "4.08"}
29+
"dune" {>= "2.0"}
30+
"cohttp" {= version}
31+
"lwt" {>= "2.5.0"}
32+
"sexplib0"
33+
"ppx_sexp_conv" {>= "v0.13.0"}
34+
"logs"
35+
"uri" {>= "2.0.0"}
36+
]
37+
build: [
38+
["dune" "subst"] {dev}
39+
["dune" "build" "-p" name "-j" jobs]
40+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
41+
]
42+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
43+
url {
44+
src:
45+
"https://github.com/mirage/ocaml-cohttp/releases/download/v4.1.2/cohttp-4.1.2.tbz"
46+
checksum: [
47+
"sha256=f027f48e132f214b3e27b63c99b247b150549e70bd6e27ad16da947ed392fa20"
48+
"sha512=c8fbf840141faecb207af3ad7d2bfcdf8b8bced6c6ca4d5a22b6982d1be13f748fa6e3997c6d97351285cd3a30f57f20fd418b7195a735a13d48ba3bcdf8e23c"
49+
]
50+
}
51+
x-commit-hash: "4819af50a7903cff8fe45e87ead2e39dd33a727f"
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
opam-version: "2.0"
2+
maintainer: "anil@recoil.org"
3+
authors: ["Anil Madhavapeddy" "Thomas Gazagnaire"]
4+
license: "ISC"
5+
tags: ["org:mirage" "org:xapi-project"]
6+
homepage: "https://github.com/mirage/ocaml-cohttp"
7+
doc: "https://mirage.github.io/ocaml-cohttp/"
8+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
9+
synopsis: "CoHTTP implementation for the MirageOS unikernel"
10+
description: """
11+
This HTTP implementation uses the Cohttp portable implementaiton
12+
along with the Lwt threading library in order to provide a
13+
`Cohttp_mirage` functor that can be used in MirageOS unikernels
14+
to build very small and efficient HTTP clients and servers
15+
without having a hard dependency on an underlying operating
16+
system.
17+
18+
Please see <https://mirage.io> for a self-hosted explanation
19+
and instructions on how to use this library."""
20+
depends: [
21+
"ocaml" {>= "4.08"}
22+
"dune" {>= "2.0"}
23+
"mirage-flow" {>= "2.0.0"}
24+
"mirage-channel" {>= "4.0.0"}
25+
"conduit" {>= "2.0.2"}
26+
"conduit-mirage" {>= "4.0.0"}
27+
"mirage-kv" {>= "3.0.0"}
28+
"lwt" {>= "2.4.3"}
29+
"cohttp" {= version}
30+
"cohttp-lwt" {= version}
31+
"fmt" {>= "0.8.7"}
32+
"astring"
33+
"magic-mime"
34+
"ppx_sexp_conv" {>= "v0.13.0"}
35+
]
36+
build: [
37+
["dune" "subst"] {dev}
38+
["dune" "build" "-p" name "-j" jobs]
39+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
40+
]
41+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
42+
url {
43+
src:
44+
"https://github.com/mirage/ocaml-cohttp/releases/download/v4.1.2/cohttp-4.1.2.tbz"
45+
checksum: [
46+
"sha256=f027f48e132f214b3e27b63c99b247b150549e70bd6e27ad16da947ed392fa20"
47+
"sha512=c8fbf840141faecb207af3ad7d2bfcdf8b8bced6c6ca4d5a22b6982d1be13f748fa6e3997c6d97351285cd3a30f57f20fd418b7195a735a13d48ba3bcdf8e23c"
48+
]
49+
}
50+
x-commit-hash: "4819af50a7903cff8fe45e87ead2e39dd33a727f"
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
opam-version: "2.0"
2+
maintainer: "anil@recoil.org"
3+
authors: [
4+
"Anil Madhavapeddy"
5+
"Stefano Zacchiroli"
6+
"David Sheets"
7+
"Thomas Gazagnaire"
8+
"David Scott"
9+
"Rudi Grinberg"
10+
"Andy Ray"
11+
]
12+
synopsis: "CoHTTP toplevel pretty printers for HTTP types"
13+
description: """
14+
This library installs toplevel prettyprinters for CoHTTP
15+
types such as the `Request`, `Response` and `Types` modules.
16+
Once this library has been loaded, you can directly see the
17+
values of those types in toplevels such as `utop` or `ocaml`."""
18+
license: "ISC"
19+
tags: ["org:mirage" "org:xapi-project"]
20+
homepage: "https://github.com/mirage/ocaml-cohttp"
21+
doc: "https://mirage.github.io/ocaml-cohttp/"
22+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
23+
depends: [
24+
"ocaml" {>= "4.08"}
25+
"dune" {>= "2.0"}
26+
"cohttp" {= version}
27+
]
28+
build: [
29+
["dune" "subst"] {dev}
30+
["dune" "build" "-p" name "-j" jobs]
31+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
32+
]
33+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
34+
url {
35+
src:
36+
"https://github.com/mirage/ocaml-cohttp/releases/download/v4.1.2/cohttp-4.1.2.tbz"
37+
checksum: [
38+
"sha256=f027f48e132f214b3e27b63c99b247b150549e70bd6e27ad16da947ed392fa20"
39+
"sha512=c8fbf840141faecb207af3ad7d2bfcdf8b8bced6c6ca4d5a22b6982d1be13f748fa6e3997c6d97351285cd3a30f57f20fd418b7195a735a13d48ba3bcdf8e23c"
40+
]
41+
}
42+
x-commit-hash: "4819af50a7903cff8fe45e87ead2e39dd33a727f"

packages/cohttp/cohttp.4.1.2/opam

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
opam-version: "2.0"
2+
maintainer: "anil@recoil.org"
3+
authors: [
4+
"Anil Madhavapeddy"
5+
"Stefano Zacchiroli"
6+
"David Sheets"
7+
"Thomas Gazagnaire"
8+
"David Scott"
9+
"Rudi Grinberg"
10+
"Andy Ray"
11+
]
12+
synopsis: "An OCaml library for HTTP clients and servers"
13+
description: """
14+
Cohttp is an OCaml library for creating HTTP daemons. It has a portable
15+
HTTP parser, and implementations using various asynchronous programming
16+
libraries.
17+
18+
See the cohttp-async, cohttp-lwt, cohttp-lwt-unix, cohttp-lwt-jsoo and
19+
cohttp-mirage libraries for concrete implementations for particular
20+
targets.
21+
22+
You can implement other targets using the parser very easily. Look at the `IO`
23+
signature in `lib/s.mli` and implement that in the desired backend.
24+
25+
You can activate some runtime debugging by setting `COHTTP_DEBUG` to any
26+
value, and all requests and responses will be written to stderr. Further
27+
debugging of the connection layer can be obtained by setting `CONDUIT_DEBUG`
28+
to any value."""
29+
license: "ISC"
30+
tags: ["org:mirage" "org:xapi-project"]
31+
homepage: "https://github.com/mirage/ocaml-cohttp"
32+
doc: "https://mirage.github.io/ocaml-cohttp/"
33+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
34+
depends: [
35+
"ocaml" {>= "4.08"}
36+
"dune" {>= "2.0"}
37+
"re" {>= "1.9.0"}
38+
"uri" {>= "2.0.0"}
39+
"uri-sexp"
40+
"sexplib0"
41+
"ppx_sexp_conv" {>= "v0.13.0"}
42+
"stringext"
43+
"base64" {>= "3.1.0"}
44+
"fmt" {with-test}
45+
"jsonm" {build}
46+
"alcotest" {with-test}
47+
]
48+
build: [
49+
["dune" "subst"] {dev}
50+
["dune" "build" "-p" name "-j" jobs]
51+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
52+
]
53+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
54+
url {
55+
src:
56+
"https://github.com/mirage/ocaml-cohttp/releases/download/v4.1.2/cohttp-4.1.2.tbz"
57+
checksum: [
58+
"sha256=f027f48e132f214b3e27b63c99b247b150549e70bd6e27ad16da947ed392fa20"
59+
"sha512=c8fbf840141faecb207af3ad7d2bfcdf8b8bced6c6ca4d5a22b6982d1be13f748fa6e3997c6d97351285cd3a30f57f20fd418b7195a735a13d48ba3bcdf8e23c"
60+
]
61+
}
62+
x-commit-hash: "4819af50a7903cff8fe45e87ead2e39dd33a727f"

0 commit comments

Comments
 (0)