opam-version: "2.0"
maintainer: "Antonio Nuno Monteiro <anmonteiro@gmail.com>"
authors: [ "Antonio Nuno Monteiro <anmonteiro@gmail.com>" ]
license: "BSD-3-clause"
homepage: "https://github.com/anmonteiro/ocaml-h2"
dev-repo: "git+https://github.com/anmonteiro/ocaml-h2.git"
bug-reports: "https://github.com/anmonteiro/ocaml-h2/issues"
doc: "https://anmonteiro.github.io/ocaml-h2/"
build: [
  ["dune" "build" "-p" name "-j" jobs]
]
depends: [
  "ocaml" {>= "4.04"}
  "faraday-lwt"
  "h2-lwt" {= version}
  "dune" {>= "1.5"}
  "lwt"
  "conduit" {< "2.3.0"}
  "conduit-mirage" {>= "2.0.2" & < "2.3.0"}
  "mirage-flow" {>= "2.0.0"}
  "cstruct"
]
synopsis: "Mirage support for h2"
description: """
h2 is an implementation of the HTTP/2 specification entirely in OCaml.
h2-mirage provides an Lwt runtime implementation for h2 that targets MirageOS
unikernels.
"""
url {
  src:
    "https://github.com/anmonteiro/ocaml-h2/releases/download/0.4.0/h2-0.4.0.tbz"
  checksum: [
    "sha256=dc90b1245cbe7ba32075481d6a1ba08ea512d85d6fb8a3ff2b07f22094a0fad1"
    "sha512=cebf90799bbb8281afa7d459b4576a35b68c69c1310867a74b620e6eb055940c8df2d1245966fac1a1461aa55e81f6f269cfa514d3879252740ae6cec1e5f281"
  ]
}
