guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.

commit 7164fd8d9d8f1be17dccfbef263cea1c9c8ddf2a
Author: Jason Conroy <[email protected]>
AuthorDate: Wed Feb 4 10:41:56 2026 -0500

    gnu: ocaml5: Add opam-installer.
    
    * gnu/packages/ocaml5.scm (opam-installer): New variable.
    
    Change-Id: Ia79cc6571c6550bcb088a1e6361c69203435e722
    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 9b5ec64530..db4c01dcd7 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -2520,6 +2520,24 @@ Git-friendly development workflow.")
        #:tests? #f
        #:phases %standard-phases))))
 
+(define-public opam-installer
+  (package
+    (inherit ocaml-opam-core)
+    (name "ocaml5-opam-installer")
+    (native-inputs (list ocaml-opam-format ocaml-cmdliner))
+    (inputs '())
+    (propagated-inputs '())
+    (arguments
+     `(#:package "opam-installer"
+       ;; requires all of opam
+       #:tests? #f))
+    (synopsis "Tool for installing OCaml packages")
+    (description
+     "@var{opam-installer} is a tool for installing OCaml packages
+based on @code{.install} files defined by the OPAM package manager.  It is
+useful for installing OCaml packages without requiring the entirety of
+OPAM.")))
+
 ;;;
 ;;; 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

Reply via email to