opam-version: "2.0"
maintainer: "anil@recoil.org"
authors: [
  "Anil Madhavapeddy"
  "Thomas Gazagnaire"
]
homepage: "https://github.com/mirage/ocaml-cohttp"
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
license: "ISC"
tags: ["org:mirage" "org:xapi-project"]
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
build: [
  ["jbuilder" "subst" "-p" name] {pinned}
  ["jbuilder" "build" "-p" name "-j" jobs]
  ["jbuilder" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
  "ocaml" {>= "4.03.0"}
  "jbuilder" {>= "1.0+beta10"}
  "result"
  "mirage-fs-lwt" {< "2.0.0"}
  "mirage-flow-lwt" {>= "1.2.0"}
  "mirage-channel-lwt" {>= "3.0.0"}
  "conduit" {>= "0.99"}
  "mirage-conduit" {>= "3.0.0"}
  "lwt" {>= "2.4.3"}
  "cohttp" {>= "0.99.0" & < "1.0"}
  "cohttp-lwt"
  "astring"
  "magic-mime"
]
synopsis: "MirageOS-compatible implementation of the Cohttp interfaces"
description: """
This library has now been renamed to `cohttp-mirage` in the `cohttp.1.0` series,
so please use that moving forward."""
url {
  src:
    "https://github.com/mirage/ocaml-cohttp/releases/download/v0.99.0/cohttp-0.99.0.tbz"
  checksum: "md5=a789a9ed492005257bdb217e2248da0d"
}
