opam-version: "2.0"
maintainer: "anil@recoil.org"
tags: [
  "org:mirage"
  "org:xapi-project"
]
build: [
  [
    "ocaml"
    "setup.ml"
    "-configure"
    "--prefix"
    prefix
    "--%{ssl+lwt:enable}%-lwt"
    "--%{mirage-net:enable}%-mirage"
    "--%{async:enable}%-async"
  ]
  ["ocaml" "setup.ml" "-build"]
]
remove: [["ocamlfind" "remove" "cohttp"]]
depends: [
  "ocaml"
  "ocamlfind"
  "re"
  "uri" {>= "1.3.2" & < "1.5.0"}
  "ounit"
  "cstruct" {< "0.6.0"}
  "ocamlbuild" {build}
]
depopts: [
  "async"
  "lwt"
  "mirage-net"
  "ssl"
]
conflicts: [
  "async" {!= "108.00.02"}
  "lwt" {>= "2.4.7"}
  "lwt" {< "2.4.1"}
]
install: ["ocaml" "setup.ml" "-install"]
synopsis: "HTTP library for Lwt, Async and Mirage"
flags: light-uninstall
url {
  src: "https://github.com/mirage/ocaml-cohttp/tarball/ocaml-cohttp-0.9.2"
  checksum: "md5=213f2afdfd642912e11c5fd6530f12ac"
}
