opam-version: "2.0" maintainer: "anil@recoil.org" authors: ["Anil Madhavapeddy" "Richard Mortier" "Thomas Gazagnaire" "Pierre Chambart" "David Kaloper" "Jeremy Yallop" "David Scott" "Mindy Preston" "Thomas Leonard" ] homepage: "https://github.com/mirage/ocaml-cstruct" license: "ISC" dev-repo: "git+https://github.com/mirage/ocaml-cstruct.git" bug-reports: "https://github.com/mirage/ocaml-cstruct/issues" tags: [ "org:mirage" "org:ocamllabs" ] build: [ ["jbuilder" "subst" "-p" name "--name" name] {dev} ["jbuilder" "build" "-p" name "-j" jobs] ["jbuilder" "runtest" "-p" name] {with-test} ] depends: [ "ocaml" {>= "4.03.0"} "jbuilder" {>= "1.0+beta10"} "sexplib" "ounit" {with-test} ] 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.""" url { src: "https://github.com/mirage/ocaml-cstruct/releases/download/v3.2.0/cstruct-3.2.0.tbz" checksum: [ "sha256=2840c3d25413b90eab7841cf3f61ad98a883206ba95b8e9e9c947ba0a624b66d" "md5=e204b4db6f54b64a54b62467abe96d70" ] }