You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.6 KiB
44 lines
1.6 KiB
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" "Etienne Millon" ] |
|
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" |
|
doc: "https://mirage.github.io/ocaml-cstruct/" |
|
|
|
tags: [ "org:mirage" "org:ocamllabs" ] |
|
build: [ |
|
["dune" "subst"] {pinned} |
|
["dune" "build" "-p" name "-j" jobs] |
|
["dune" "runtest" "-p" name "-j" jobs] {with-test} |
|
] |
|
depends: [ |
|
"ocaml" {>= "4.03.0"} |
|
"dune" |
|
"cstruct" {=version} |
|
"ounit" {with-test} |
|
"ppx_tools_versioned" {>= "5.0.1"} |
|
"ocaml-migrate-parsetree" |
|
"ppx_sexp_conv" {with-test} |
|
"sexplib" {>="v0.9.0"} |
|
"cstruct-sexp" {with-test} |
|
"cppo" {with-test} |
|
"cstruct-unix" {with-test & =version} |
|
"stdlib-shims" |
|
] |
|
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/v5.1.1/cstruct-v5.1.1.tbz" |
|
checksum: [ |
|
"sha256=55d1f42cb85f7872fee499c5ed382aea17b06d55d1709e071d1ba85c7a09fef3" |
|
"sha512=c3aa9a5a9125a1d022506a76fd7cdf32b21edcdc9df1202d8a9f382d02a28a33fea9a958f79e9302907ade1fce3f166b620c320aed6486e3efcc9a7464379cab" |
|
] |
|
}
|
|
|