diff --git a/packages/cohttp-async/cohttp-async.2.1.1/opam b/packages/cohttp-async/cohttp-async.2.1.1/opam new file mode 100644 index 000000000000..9facb7919616 --- /dev/null +++ b/packages/cohttp-async/cohttp-async.2.1.1/opam @@ -0,0 +1,53 @@ +opam-version: "2.0" +maintainer: "anil@recoil.org" +authors: [ + "Anil Madhavapeddy" + "Stefano Zacchiroli" + "David Sheets" + "Thomas Gazagnaire" + "David Scott" + "Rudi Grinberg" + "Andy Ray" +] +synopsis: "CoHTTP implementation for the Async concurrency library" +description: """ +An implementation of an HTTP client and server using the Async +concurrency library. See the `Cohttp_async` module for information +on how to use this. The package also installs `cohttp-curl-async` +and a `cohttp-server-async` binaries for quick uses of a HTTP(S) +client and server respectively. +""" +license: "ISC" +tags: ["org:mirage" "org:xapi-project"] +homepage: "https://github.com/mirage/ocaml-cohttp" +doc: "https://mirage.github.io/ocaml-cohttp/" +bug-reports: "https://github.com/mirage/ocaml-cohttp/issues" +depends: [ + "ocaml" {>= "4.04.1"} + "dune" {build & >= "1.1.0"} + "async_kernel" {>= "v0.11.0"} + "async_unix" {>= "v0.11.0"} + "async_extra" {>= "v0.11.0"} + "base" {>= "v0.11.0"} + "core" {with-test} + "cohttp" + "conduit-async" {>="1.2.0"} + "magic-mime" + "logs" + "fmt" {>= "0.8.2"} + "sexplib0" + "ppx_sexp_conv" {>= "v0.9.0"} + "ounit" {with-test} + "uri" {>= "2.0.0"} +] +build: [ + ["dune" "subst"] {pinned} + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git" +url { + src: + "https://github.com/mirage/ocaml-cohttp/releases/download/v2.1.1/cohttp-v2.1.1.tbz" + checksum: "md5=fb618c28ebd09be75404222fa3d95fee" +} diff --git a/packages/cohttp-lwt/cohttp-lwt.2.0.0/opam b/packages/cohttp-lwt/cohttp-lwt.2.0.0/opam index 268243b65b30..4fce96ba4989 100644 --- a/packages/cohttp-lwt/cohttp-lwt.2.0.0/opam +++ b/packages/cohttp-lwt/cohttp-lwt.2.0.0/opam @@ -27,7 +27,7 @@ bug-reports: "https://github.com/mirage/ocaml-cohttp/issues" depends: [ "ocaml" {>= "4.04.1"} "dune" {build & >= "1.1.0"} - "cohttp" {>= "1.0.0"} + "cohttp" {>= "2.0.0"} "lwt" {>= "2.5.0"} "sexplib0" {< "v0.13"} "ppx_sexp_conv" {>= "v0.9.0" & < "v0.13"} diff --git a/packages/cohttp-mirage/cohttp-mirage.2.1.1/opam b/packages/cohttp-mirage/cohttp-mirage.2.1.1/opam new file mode 100644 index 000000000000..32d57b342469 --- /dev/null +++ b/packages/cohttp-mirage/cohttp-mirage.2.1.1/opam @@ -0,0 +1,44 @@ +opam-version: "2.0" +maintainer: "anil@recoil.org" +authors: ["Anil Madhavapeddy" "Thomas Gazagnaire"] +license: "ISC" +tags: ["org:mirage" "org:xapi-project"] +homepage: "https://github.com/mirage/ocaml-cohttp" +doc: "https://mirage.github.io/ocaml-cohttp/" +bug-reports: "https://github.com/mirage/ocaml-cohttp/issues" +synopsis: "CoHTTP implementation for the MirageOS unikernel" +description: """ +This HTTP implementation uses the Cohttp portable implementaiton +along with the Lwt threading library in order to provide a +`Cohttp_mirage` functor that can be used in MirageOS unikernels +to build very small and efficient HTTP clients and servers +without having a hard dependency on an underlying operating +system. + +Please see for a self-hosted explanation +and instructions on how to use this library.""" +depends: [ + "ocaml" {>= "4.05.0"} + "dune" {build & >= "1.1.0"} + "mirage-flow-lwt" {>= "1.2.0"} + "mirage-channel-lwt" {>= "3.0.0"} + "conduit" {>= "0.99"} + "mirage-conduit" {>= "3.0.0"} + "mirage-kv-lwt" {>= "2.0.0"} + "lwt" {>= "2.4.3"} + "cohttp" {>="2.0.0"} + "cohttp-lwt" + "astring" + "magic-mime" +] +build: [ + ["dune" "subst"] {pinned} + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git" +url { + src: + "https://github.com/mirage/ocaml-cohttp/releases/download/v2.1.1/cohttp-v2.1.1.tbz" + checksum: "md5=fb618c28ebd09be75404222fa3d95fee" +}