this repo has no description
1opam-version: "2.0"
2maintainer: "anil@recoil.org"
3authors: ["Anil Madhavapeddy" "Richard Mortier" "Thomas Gazagnaire"
4 "Pierre Chambart" "David Kaloper" "Jeremy Yallop" "David Scott"
5 "Mindy Preston" "Thomas Leonard" "Anton Kochkov" "Etienne Millon" ]
6homepage: "https://github.com/mirage/ocaml-cstruct"
7license: "ISC"
8dev-repo: "git+https://github.com/mirage/ocaml-cstruct.git"
9bug-reports: "https://github.com/mirage/ocaml-cstruct/issues"
10doc: "https://mirage.github.io/ocaml-cstruct/"
11
12tags: [ "org:mirage" "org:ocamllabs" ]
13build: [
14 ["dune" "subst"] {dev}
15 ["dune" "build" "-p" name "-j" jobs]
16 ["dune" "runtest" "-p" name "-j" jobs] {with-test}
17]
18depends: [
19 "ocaml" {>= "4.03.0"}
20 "dune"
21 "bigarray-compat"
22 "alcotest" {with-test}
23]
24conflicts: [ "js_of_ocaml" {<"3.5.0"} ]
25synopsis: "Access C-like structures directly from OCaml"
26description: """
27Cstruct is a library and syntax extension to make it easier to access C-like
28structures directly from OCaml. It supports both reading and writing to these
29structures, and they are accessed via the `Bigarray` module."""
30url {
31 src:
32 "https://github.com/mirage/ocaml-cstruct/releases/download/v5.1.1/cstruct-v5.1.1.tbz"
33 checksum: [
34 "sha256=55d1f42cb85f7872fee499c5ed382aea17b06d55d1709e071d1ba85c7a09fef3"
35 "sha512=c3aa9a5a9125a1d022506a76fd7cdf32b21edcdc9df1202d8a9f382d02a28a33fea9a958f79e9302907ade1fce3f166b620c320aed6486e3efcc9a7464379cab"
36 ]
37}