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.06"}
  "faraday-lwt"
  "h2-lwt" {>= version}
  "gluten-lwt" {>= "0.2.0"}
  "dune" {>= "1.7"}
  "lwt"
  "gluten-mirage"
  "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.6.1/h2-0.6.1.tbz"
  checksum: [
    "sha256=585fb8f4f1bef0a9f93dbbd24a7a9d2d048e725bab0c2fbdbef9eb301e7a677d"
    "sha512=ee6d4f554593187b8ac21fa73c98e5be82b5a99828f4d5dfb082623a57e2eccbd0eb252a5d970481ad6892580e9fffeaa819ab729708f6dd11072165ebceca01"
  ]
}
