opam-version: "2.0"
maintainer:   "thomas@gazagnaire.org"
authors:      "Thomas Gazagnaire"
license:      "ISC"
homepage:     "https://github.com/mirage/ocaml-mstruct"
dev-repo: "git+https://github.com/mirage/ocaml-mstruct.git"
bug-reports:  "https://github.com/mirage/ocaml-mstruct/issues"

build: [
  ["jbuilder" "subst" "-p" name] {pinned}
  ["jbuilder" "build" "-p" name "-j" jobs]
  ["jbuilder" "runtest"] {with-test}
]
depends: [
  "ocaml" {< "4.06.0"}
  "jbuilder" {>= "1.0+beta9"}
  "cstruct" {>= "2.4.0"}
]
synopsis: "A mutable interface to Cstruct buffers"
description: """
Mutable [cstruct](https://github.com/mirage/ocaml-cstruct) buffers.

```ocaml"""
url {
  src:
    "https://github.com/mirage/ocaml-mstruct/releases/download/v1.3.4/mstruct-1.3.4.tbz"
  checksum: "md5=73e06f8ffb96674ef2011740f4b008e5"
}
