opam-version: "2.0"
maintainer: "anil@recoil.org"
authors: [
  "Anil Madhavapeddy"
  "Stefano Zacchiroli"
  "David Sheets"
  "Thomas Gazagnaire"
  "David Scott"
  "Rudi Grinberg"
  "Andy Ray"
]
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:   [make "PREFIX=%{prefix}%"]
install: [make "PREFIX=%{prefix}%" "install"]
remove:  ["ocamlfind" "remove" "cohttp"]
depends: [
  "ocaml"
  "ocamlfind"
  "re"
  "uri" {>= "1.3.8" & < "1.5.0"}
  "ounit"
  "cstruct" {>= "0.8.0"}
  "ocamlbuild" {build}
]
depopts: [
  "async"
  "lwt"
  "mirage-net"
]
conflicts: [
  "async" {< "109.15.00"}
  "async" {> "109.53.02"}
  "lwt" {< "2.4.3"}
  "lwt" {>= "2.4.7"}
  "mirage-net" {< "0.9.4"}
]
synopsis: "HTTP library for Lwt, Async and Mirage"
description: """
If you wish to install the Lwt_unix version, then you will also need the ssl
optional package for this version.  Just do:

`opam install cohttp lwt ssl` to get a fully working HTTP(S) Lwt_unix client."""
flags: light-uninstall
url {
  src: "https://github.com/mirage/ocaml-cohttp/archive/v0.9.11.tar.gz"
  checksum: "md5=e9e3e893f1d9f4162a27c4d2ae605d3a"
}
