|
| 1 | +opam-version: "2.0" |
| 2 | + |
| 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" |
0 commit comments