guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.
commit 19d8b1d2f40de721bddc30f072d81a439fdc1e52
Author: Jason Conroy <[email protected]>
AuthorDate: Thu Jan 15 13:10:11 2026 -0500
gnu: ocaml5: Add ocaml-ppx-optcomp.
* gnu/packages/ocaml5.scm (ocaml-ppx-optcomp): New variable.
Change-Id: I590342778222a372cb66c7cfbe5ca6a19b9b95ca
Signed-off-by: Julien Lepiller <[email protected]>
---
gnu/packages/ocaml5.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index 53d92cef1b..fda94b2526 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -1652,6 +1652,24 @@ https://github.com/ocaml/ocaml/issues/8563.")
(description "Part of the Jane Street's PPX rewriters collection.")
(license license:expat)))
+(define-public ocaml-ppx-optcomp
+ (package
+ (name "ocaml5-ppx-optcomp")
+ (version "0.17.0")
+ (home-page "https://github.com/janestreet/ppx_optcomp")
+ (source
+ (janestreet-git-origin "ppx_optcomp" version
+ "0287r4sqv752wsyx6k04kxw61wvj5y0xj66cj68q3x3i2b717nhz"))
+ (build-system dune-build-system)
+ (propagated-inputs (list ocaml-base ocaml-stdio ocaml-ppxlib))
+ (properties `((upstream-name . "ppx_optcomp")))
+ (synopsis "Optional compilation for OCaml")
+ (description
+ "Ppx_optcomp stands for Optional Compilation. It is a tool
+used to handle optional compilations of pieces of code depending of the word
+size, the version of the compiler, ...")
+ (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