|
| 1 | +opam-version: "2.0" |
| 2 | + |
| 3 | +authors: ["Anil Madhavapeddy" "Richard Mortier" "Thomas Gazagnaire" |
| 4 | + "Pierre Chambart" "David Kaloper" "Jeremy Yallop" "David Scott" |
| 5 | + "Mindy Preston" "Thomas Leonard" "Etienne Millon" ] |
| 6 | +homepage: "https://github.com/mirage/ocaml-cstruct" |
| 7 | +license: "ISC" |
| 8 | +dev-repo: "git+https://github.com/mirage/ocaml-cstruct.git" |
| 9 | +bug-reports: "https://github.com/mirage/ocaml-cstruct/issues" |
| 10 | +doc: "https://mirage.github.io/ocaml-cstruct/" |
| 11 | + |
| 12 | +tags: [ "org:mirage" "org:ocamllabs" ] |
| 13 | +build: [ |
| 14 | + ["dune" "subst"] {dev} |
| 15 | + ["dune" "build" "-p" name "-j" jobs] |
| 16 | + ["dune" "runtest" "-p" name "-j" jobs] {with-test} |
| 17 | +] |
| 18 | +depends: [ |
| 19 | + "ocaml" {>= "4.08.0"} |
| 20 | + "dune" {>= "2.0.0"} |
| 21 | + "cstruct" {=version} |
| 22 | + "ounit" {with-test} |
| 23 | + "ppxlib" {>= "0.16.0"} |
| 24 | + "ppx_sexp_conv" {with-test} |
| 25 | + "sexplib" {>="v0.9.0"} |
| 26 | + "cstruct-sexp" {with-test} |
| 27 | + "cppo" {with-test} |
| 28 | + "cstruct-unix" {with-test & =version} |
| 29 | + "ocaml-migrate-parsetree" {>= "2.1.0" & with-test} |
| 30 | + "lwt_ppx" {>= "2.0.2" & with-test} |
| 31 | +] |
| 32 | +synopsis: "Access C-like structures directly from OCaml" |
| 33 | +description: """ |
| 34 | +Cstruct is a library and syntax extension to make it easier to access C-like |
| 35 | +structures directly from OCaml. It supports both reading and writing to these |
| 36 | +structures, and they are accessed via the `Bigarray` module.""" |
| 37 | +url { |
| 38 | + src: |
| 39 | + "https://github.com/mirage/ocaml-cstruct/releases/download/v6.2.0/cstruct-6.2.0.tbz" |
| 40 | + checksum: [ |
| 41 | + "sha256=9a78073392580e8349148fa3ab4b1b2e989dc9d30d07401b04c96b7c60f03e62" |
| 42 | + "sha512=8d33fe6b3707a3994d0225cd33cadde0bb2ca834ef01096e3df33a08e4a8c6d02ebccddf558a73988b8a5595b65fdc10de61efbf872c6c9e55c719c7e19c463d" |
| 43 | + ] |
| 44 | +} |
| 45 | +x-commit-hash: "8c7c94a038aae72dc89c994551c9d2c690895607" |
0 commit comments