opam-version: "2.0"
maintainer:   "Romain Calascibetta <romain.calascibetta@gmail.com>"
authors:      "Romain Calascibetta <romain.calascibetta@gmail.com>"
homepage:     "https://github.com/mirage/decompress"
bug-reports:  "https://github.com/mirage/decompress/issues"
dev-repo:     "git+https://github.com/mirage/decompress.git"
doc:          "https://mirage.github.io/decompress/"
license:      "MIT"
synopsis:     "Implementation of RFC1951 in OCaml"
description: """This package provide an implementation of RFC1951 in OCaml.

We provide a pure non-blocking interface to inflate and deflate data flow.
"""

build: [
  [ "dune" "subst" ]
  [ "dune" "build" "-p" name "-j" jobs ]
  [ "dune" "runtest" "-p" name "-j" jobs ] {with-test}
]

depends: [
  "ocaml"      {>= "4.03.0"}
  "dune"
  "base-bytes"
  "base-bigarray"
  "optint"
  "checkseum"
  "decompress" {= version}
  "camlzip"    {with-test}
  "re"         {with-test & >= "1.7.2"}
  "alcotest"   {with-test}
]
url {
  src:
    "https://github.com/mirage/decompress/releases/download/v0.8.1/decompress-v0.8.1.tbz"
  checksum: "md5=6c600b0188516d405510cd95d8d82481"
}
