guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.
commit 5b612421649843becfe0d71238b1de2405e4770a
Author: Jason Conroy <[email protected]>
AuthorDate: Thu Jan 15 10:18:12 2026 -0500
gnu: ocaml5: Add ocaml-compiler-libs.
* gnu/packages/ocaml5.scm (ocaml-compiler-libs): New variable.
Change-Id: I61f20e23e545717356cb73610092345df3c0dc33
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 982d9a6253..ed74b33299 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -975,6 +975,24 @@ compilers that can directly deal with packages.")
(name "ocaml5.0-findlib")
(native-inputs
(list m4 ocaml-5.0))))
+
+(define-public ocaml-compiler-libs
+ (package
+ (name "ocaml5-compiler-libs")
+ (version "0.17.0")
+ (home-page "https://github.com/janestreet/ocaml-compiler-libs")
+ (source
+ (janestreet-git-origin "ocaml-compiler-libs" version
+ "0cs3waqdnf5xv5cv5g2bkjypgqibwlxgkxd5ddmvj5g9d82vm821"))
+ (build-system dune-build-system)
+ (properties `((upstream-name . "ocaml-compiler-libs")))
+ (synopsis "Compiler libraries repackaged")
+ (description
+ "This package simply repackages the OCaml compiler libraries
+so they don't expose everything at toplevel. For instance, @code{Ast_helper}
+is now @code{Ocaml_common.Ast_helper}.")
+ (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