opam-version: "2.0"
maintainer: "anil@recoil.org"
authors: ["Anil Madhavapeddy" "Thomas Leonard" "Thomas Gazagnaire"]
license: "ISC"
tags: "org:mirage"
homepage: "https://github.com/mirage/ocaml-conduit"
bug-reports: "https://github.com/mirage/ocaml-conduit/issues"
depends: [
  "ocaml" {>= "4.03.0"}
  "dune"
  "ppx_sexp_conv" {>= "v0.9.0" & < "v0.15"}
  "sexplib" {< "v0.15"}
  "cstruct" {>= "3.0.0"}
  "mirage-stack-lwt" {>= "1.3.0"}
  "mirage-time-lwt" {>= "1.1.0"}
  "mirage-flow-lwt" {>= "1.2.0"}
  "mirage-random" {>= "1.2.0" & < "2.0.0"}
  "dns-client" {>= "4.0.0" & < "4.5.0"}
  "conduit-lwt"
  "vchan" {>= "3.0.0"}
  "xenstore"
  "tls" {>= "0.8.0" & < "0.11.0"}
  "ipaddr" {>= "3.0.0"}
  "ipaddr-sexp"

  #these are required for tls.mirage, which conduit-mirage depends on
  "mirage-kv-lwt" {>= "2.0.0"}
  "mirage-clock" {>= "2.0.0" & < "3.0.0"}
  "ptime"
]
conflicts: [
  "mirage-conduit"
]

build: [
  ["dune" "subst"] {pinned}
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name] {with-test}
]
dev-repo: "git+https://github.com/mirage/ocaml-conduit.git"
synopsis: "A network connection establishment library for MirageOS"
url {
  src:
    "https://github.com/mirage/ocaml-conduit/releases/download/v2.0.1/conduit-v2.0.1.tbz"
  checksum: [
    "sha256=faf9c1a74bb9f7e0c97637a96968c5198a9344b1dfccbbc2d124d74ac3bedfbb"
    "sha512=af30cb72ca65e619eb3f38ab3633c1f0ab28dbd7eedd10bcb80f449db9c9b7c433b8553adcb05ac1590ece1797e55bbe5e915255b1ad2fa2dff461a2bfc488aa"
  ]
}
