opam-version: "2.0"
synopsis: "Access C-like structures directly from OCaml"
description: """\
Cstruct is a library and syntax extension to make it easier to access C-like
structures directly from OCaml.  It supports both reading and writing to these
structures, and they are accessed via the `Bigarray` module."""
maintainer: "anil@recoil.org"
authors: [
  "Anil Madhavapeddy"
  "Richard Mortier"
  "Thomas Gazagnaire"
  "Pierre Chambart"
  "David Kaloper"
  "Jeremy Yallop"
  "David Scott"
  "Mindy Preston"
  "Thomas Leonard"
  "Etienne Millon"
]
license: "ISC"
tags: ["org:mirage" "org:ocamllabs"]
homepage: "https://github.com/mirage/ocaml-cstruct"
doc: "https://mirage.github.io/ocaml-cstruct/"
bug-reports: "https://github.com/mirage/ocaml-cstruct/issues"
depends: [
  "ocaml" {>= "4.03.0"}
  "base-unix"
  "dune" {>= "2.0.0"}
  "lwt"
  "cstruct" {= version}
]
build: [
  ["dune" "subst"] {dev}
  ["dune" "build" "-p" name "-j" jobs]
]
dev-repo: "git+https://github.com/mirage/ocaml-cstruct.git"
url {
  src:
    "https://github.com/mirage/ocaml-cstruct/releases/download/v6.0.1/cstruct-v6.0.1.tbz"
  checksum: [
    "sha256=4a67bb8f042753453c59eabf0e47865631253ba694091ce6062aac05d47a9bed"
    "sha512=3eeeb6ae0fd3b625cf1d308498f0a1e6951d16566561f3362fdf74e7158d92d8f6c6d9fa968ff15f8c19a1886dce99d0ef17b44dbb37b97cc68c9b088fdc2248"
  ]
}
x-commit-hash: "28dade8963a9edfddeb8dba782a8eae0341e80d4"
