From 345ab4df0d3fec18d3373c5e10753d145a42cad4 Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Fri, 1 Apr 2022 08:34:36 +0200 Subject: [PATCH] [new release] ppx_cstruct, cstruct, cstruct-unix, cstruct-sexp, cstruct-lwt and cstruct-async (6.1.0) CHANGES: **breaking changes** - The deprecated functions `Cstruct.len`, `Cstruct.add_len`, `Cstruct.set_len`, and `Cstruct.blit_to_string` have been removed (@hannesm mirage/ocaml-cstruct#291) - Implement host_endian (@haesbaert mirage/ocaml-cstruct#292, fixes mirage/ocaml-cstruct#72) - Compatibility with OCaml 5.0.0 (@dinosaure mirage/ocaml-cstruct#294) - Drop support of OCaml < 4.08.0, remove bigarray-compat dependency (@hannesm mirage/ocaml-cstruct#298) - Fix year in changes of 6.0.1 (@reynir mirage/ocaml-cstruct#297) --- .../cstruct-async/cstruct-async.6.1.0/opam | 37 +++++++++++++++ packages/cstruct-lwt/cstruct-lwt.6.1.0/opam | 36 +++++++++++++++ packages/cstruct-sexp/cstruct-sexp.6.1.0/opam | 40 ++++++++++++++++ packages/cstruct-unix/cstruct-unix.6.1.0/opam | 38 +++++++++++++++ packages/cstruct/cstruct.6.1.0/opam | 39 ++++++++++++++++ packages/ppx_cstruct/ppx_cstruct.6.1.0/opam | 46 +++++++++++++++++++ 6 files changed, 236 insertions(+) create mode 100644 packages/cstruct-async/cstruct-async.6.1.0/opam create mode 100644 packages/cstruct-lwt/cstruct-lwt.6.1.0/opam create mode 100644 packages/cstruct-sexp/cstruct-sexp.6.1.0/opam create mode 100644 packages/cstruct-unix/cstruct-unix.6.1.0/opam create mode 100644 packages/cstruct/cstruct.6.1.0/opam create mode 100644 packages/ppx_cstruct/ppx_cstruct.6.1.0/opam diff --git a/packages/cstruct-async/cstruct-async.6.1.0/opam b/packages/cstruct-async/cstruct-async.6.1.0/opam new file mode 100644 index 00000000000..753134aa0a1 --- /dev/null +++ b/packages/cstruct-async/cstruct-async.6.1.0/opam @@ -0,0 +1,37 @@ +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" +tags: [ "org:mirage" "org:ocamllabs" ] +doc: "https://mirage.github.io/ocaml-cstruct/" +build: [ + ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs] +] +depends: [ + "ocaml" {>= "4.08.0"} + "dune" {>= "2.0.0"} + "async" {>= "v0.9.0"} + "async_unix" {>= "v0.9.0"} + "core" {>= "v0.9.0"} + "cstruct" {=version} +] +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/v6.1.0/cstruct-6.1.0.tbz" + checksum: [ + "sha256=4f0d2d7d6b7048c99e5d9d62e62ed3fe957bdede56b385567962075c969f1d8b" + "sha512=24620eb8dd37b7508a6adbad19fe21b44739a1bd641827b4fdd74e642991647fb814cabdf44195199bdb5208cac182580c55dce511bf22ad595d56a140cc0584" + ] +} +x-commit-hash: "7cfde7fad479b2c707ece96c35edbcbd89cf752a" diff --git a/packages/cstruct-lwt/cstruct-lwt.6.1.0/opam b/packages/cstruct-lwt/cstruct-lwt.6.1.0/opam new file mode 100644 index 00000000000..ed6e15561b9 --- /dev/null +++ b/packages/cstruct-lwt/cstruct-lwt.6.1.0/opam @@ -0,0 +1,36 @@ +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"] {dev} + ["dune" "build" "-p" name "-j" jobs] +] +depends: [ + "ocaml" {>= "4.08.0"} + "base-unix" + "dune" {>= "2.0.0"} + "lwt" + "cstruct" {=version} +] +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/v6.1.0/cstruct-6.1.0.tbz" + checksum: [ + "sha256=4f0d2d7d6b7048c99e5d9d62e62ed3fe957bdede56b385567962075c969f1d8b" + "sha512=24620eb8dd37b7508a6adbad19fe21b44739a1bd641827b4fdd74e642991647fb814cabdf44195199bdb5208cac182580c55dce511bf22ad595d56a140cc0584" + ] +} +x-commit-hash: "7cfde7fad479b2c707ece96c35edbcbd89cf752a" diff --git a/packages/cstruct-sexp/cstruct-sexp.6.1.0/opam b/packages/cstruct-sexp/cstruct-sexp.6.1.0/opam new file mode 100644 index 00000000000..ac837e1603c --- /dev/null +++ b/packages/cstruct-sexp/cstruct-sexp.6.1.0/opam @@ -0,0 +1,40 @@ +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" "Anton Kochkov" "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"] {dev} + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +depends: [ + "ocaml" {>= "4.08.0"} + "dune" {>= "2.0.0"} + "sexplib" + "cstruct" {=version} + "alcotest" {with-test} +] +synopsis: "S-expression serialisers for C-like structures" +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. + +This library provides Sexplib serialisers for the Cstruct.t values.""" +url { + src: + "https://github.com/mirage/ocaml-cstruct/releases/download/v6.1.0/cstruct-6.1.0.tbz" + checksum: [ + "sha256=4f0d2d7d6b7048c99e5d9d62e62ed3fe957bdede56b385567962075c969f1d8b" + "sha512=24620eb8dd37b7508a6adbad19fe21b44739a1bd641827b4fdd74e642991647fb814cabdf44195199bdb5208cac182580c55dce511bf22ad595d56a140cc0584" + ] +} +x-commit-hash: "7cfde7fad479b2c707ece96c35edbcbd89cf752a" diff --git a/packages/cstruct-unix/cstruct-unix.6.1.0/opam b/packages/cstruct-unix/cstruct-unix.6.1.0/opam new file mode 100644 index 00000000000..2e4079dec58 --- /dev/null +++ b/packages/cstruct-unix/cstruct-unix.6.1.0/opam @@ -0,0 +1,38 @@ +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"] {dev} + ["dune" "build" "-p" name "-j" jobs] +] +depends: [ + "ocaml" {>= "4.06.0"} + "dune" {>= "2.0.0"} + "base-unix" + "cstruct" {=version} +] +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/v6.1.0/cstruct-6.1.0.tbz" + checksum: [ + "sha256=4f0d2d7d6b7048c99e5d9d62e62ed3fe957bdede56b385567962075c969f1d8b" + "sha512=24620eb8dd37b7508a6adbad19fe21b44739a1bd641827b4fdd74e642991647fb814cabdf44195199bdb5208cac182580c55dce511bf22ad595d56a140cc0584" + ] +} +x-commit-hash: "7cfde7fad479b2c707ece96c35edbcbd89cf752a" diff --git a/packages/cstruct/cstruct.6.1.0/opam b/packages/cstruct/cstruct.6.1.0/opam new file mode 100644 index 00000000000..7d6ff513298 --- /dev/null +++ b/packages/cstruct/cstruct.6.1.0/opam @@ -0,0 +1,39 @@ +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" "Anton Kochkov" "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"] {dev} + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +depends: [ + "ocaml" {>= "4.08.0"} + "dune" {>= "2.0.0"} + "alcotest" {with-test} + "fmt" {>= "0.8.9"} + "crowbar" {with-test} +] +conflicts: [ "js_of_ocaml" {<"3.5.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.""" +url { + src: + "https://github.com/mirage/ocaml-cstruct/releases/download/v6.1.0/cstruct-6.1.0.tbz" + checksum: [ + "sha256=4f0d2d7d6b7048c99e5d9d62e62ed3fe957bdede56b385567962075c969f1d8b" + "sha512=24620eb8dd37b7508a6adbad19fe21b44739a1bd641827b4fdd74e642991647fb814cabdf44195199bdb5208cac182580c55dce511bf22ad595d56a140cc0584" + ] +} +x-commit-hash: "7cfde7fad479b2c707ece96c35edbcbd89cf752a" diff --git a/packages/ppx_cstruct/ppx_cstruct.6.1.0/opam b/packages/ppx_cstruct/ppx_cstruct.6.1.0/opam new file mode 100644 index 00000000000..174cd9ac8da --- /dev/null +++ b/packages/ppx_cstruct/ppx_cstruct.6.1.0/opam @@ -0,0 +1,46 @@ +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"] {dev} + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +depends: [ + "ocaml" {>= "4.08.0"} + "dune" {>= "2.0.0"} + "cstruct" {=version} + "ounit" {with-test} + "ppxlib" {>= "0.16.0"} + "ppx_sexp_conv" {with-test} + "sexplib" {>="v0.9.0"} + "cstruct-sexp" {with-test} + "cppo" {with-test} + "cstruct-unix" {with-test & =version} + "stdlib-shims" + "ocaml-migrate-parsetree" {>= "2.1.0" & with-test} + "lwt_ppx" {>= "2.0.2" & 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/v6.1.0/cstruct-6.1.0.tbz" + checksum: [ + "sha256=4f0d2d7d6b7048c99e5d9d62e62ed3fe957bdede56b385567962075c969f1d8b" + "sha512=24620eb8dd37b7508a6adbad19fe21b44739a1bd641827b4fdd74e642991647fb814cabdf44195199bdb5208cac182580c55dce511bf22ad595d56a140cc0584" + ] +} +x-commit-hash: "7cfde7fad479b2c707ece96c35edbcbd89cf752a"