gnu: ocaml5: Add ocaml-ppx-bin-prot.

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

Change-Id: Ic5a0f3f5c58fd27bfdb4eb1dc1879d31b0c5d0a8
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
Jason Conroy
2026-02-18 09:27:57 -05:00
committed by Julien Lepiller
parent 788e4ec1dd
commit 28c4b89ea4

View File

@@ -4175,6 +4175,26 @@ protocol is also heavily optimized for size, making it ideal for long-term
storage of large amounts of data.")
(license license:expat)))
(define-public ocaml-ppx-bin-prot
(package
(name "ocaml5-ppx-bin-prot")
(version "0.17.1")
(source
(janestreet-git-origin "ppx_bin_prot" version
"03pf85zs4mabcs56gf3ib70ldz9rxlz4bfygcr6348cy113nsczm"))
(build-system dune-build-system)
(arguments
;; Cyclic dependency with ocaml-ppx-jane
`(#:tests? #f))
(propagated-inputs (list ocaml-base ocaml-bin-prot ocaml-ppx-here
ocaml-ppxlib))
(properties `((upstream-name . "ppx_bin_prot")))
(home-page "https://github.com/janestreet/ppx_bin_prot")
(synopsis "Generation of bin_prot readers and writers from types")
(description "This PPX generates binary serialization and deserialization
functions from type definitions.")
(license license:expat)))
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar