this repo has no description
1opam-version: "2.0"
2maintainer: "anil@recoil.org"
3authors: [
4 "Anil Madhavapeddy"
5 "Stefano Zacchiroli"
6 "David Sheets"
7 "Thomas Gazagnaire"
8 "David Scott"
9 "Rudi Grinberg"
10 "Andy Ray"
11]
12synopsis: "CoHTTP implementation for Unix and Windows using Lwt"
13description: """
14An implementation of an HTTP client and server using the Lwt
15concurrency library. See the `Cohttp_lwt_unix` module for information
16on how to use this. The package also installs `cohttp-curl-lwt`
17and a `cohttp-server-lwt` binaries for quick uses of a HTTP(S)
18client and server respectively.
19
20Although the name implies that this only works under Unix, it
21should also be fine under Windows too."""
22license: "ISC"
23tags: ["org:mirage" "org:xapi-project"]
24homepage: "https://github.com/mirage/ocaml-cohttp"
25doc: "https://mirage.github.io/ocaml-cohttp/"
26bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
27depends: [
28 "ocaml" {>= "4.04.1"}
29 "dune" {>= "1.1.0"}
30 "conduit-lwt-unix" {>= "1.0.3" & < "3.0.0"}
31 "cmdliner" {< "1.1.0"}
32 "magic-mime"
33 "logs"
34 "fmt" {>= "0.8.2"}
35 "cohttp-lwt" {=version}
36 "lwt" {>= "3.0.0"}
37 "base-unix"
38 "ounit" {with-test}
39]
40build: [
41 ["dune" "subst"] {dev}
42 ["dune" "build" "-p" name "-j" jobs]
43 ["dune" "runtest" "-p" name "-j" jobs] {with-test & os != "macos"}
44]
45dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
46url {
47 src:
48 "https://github.com/mirage/ocaml-cohttp/releases/download/v2.5.7/cohttp-v2.5.7.tbz"
49 checksum: [
50 "sha256=88011a0decf55e2838ab0276540e710faff5602643edc1fc4b55012cc643e82f"
51 "sha512=77135fa15372de5eb0588cde9b56a2796858131637db2b6f81e4d0a0ff6b9e0b2bf9664fdec9c1875eb3913f642a317dec7eeabc0f250115e3a7abc719af2168"
52 ]
53}
54x-commit-hash: "a40873ab8313de44e28e354ee0ece5e6b2c8e775"