|
| 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" {>= "2.0.2"} |
| 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/v5.0.0/cohttp-5.0.0.tbz" |
| 45 | + checksum: [ |
| 46 | + "sha256=fd6ff4b86c818355d61b3a08628596dbf517d6a7da6e8edec481bb0653ca5a05" |
| 47 | + "sha512=f0bfd715806965af5488010cc9388d05406b67ece0b2cb8f7803553b17a5264d03094e59127a62d37c0d6c0e74d4717e643737c43d9bcfb10b112a73d5f49c4d" |
| 48 | + ] |
| 49 | +} |
| 50 | +x-commit-hash: "5f9c0ae88a69e4280810fe73344367e90954dea5" |
0 commit comments