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