gnu: ocaml5: Add ocaml-ppx-cstruct.

* gnu/packages/ocaml5.scm (ocaml-ppx-cstruct): New variable.

Change-Id: I64b89b2ae31b7e9b3d0ce72f962cac77d67c0260
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
Jason Conroy
2026-04-09 16:46:38 -04:00
committed by Julien Lepiller
parent 36d618439e
commit 89211998ad

View File

@@ -3578,6 +3578,18 @@ 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.")
(license license:isc)))
(define-public ocaml-ppx-cstruct
(package
(inherit ocaml-cstruct)
(name "ocaml5-ppx-cstruct")
(properties `((upstream-name . "ppx_cstruct")))
(arguments
'(#:package "ppx_cstruct"
;; requires deprecated package ocaml-migrate-parsetree.
#:tests? #f))
(propagated-inputs (modify-inputs (package-propagated-inputs ocaml-cstruct)
(append ocaml-cstruct ocaml-ppxlib ocaml-sexplib)))))
(define-public ocaml-domain-name
(package
(name "ocaml5-domain-name")