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

commit b8e33f3b183255c2e71c7aabb78a3aa020015151
Author: Jason Conroy <[email protected]>
AuthorDate: Thu Jan 15 13:52:35 2026 -0500

    gnu: ocaml5: Add %ocaml-odoc-base.
    
    * gnu/packages/ocaml5.scm (%ocaml-odoc-base): New variable.
    
    Change-Id: I1271de3b97e5c3d1763d746fafb795906943b413
    Signed-off-by: Julien Lepiller <[email protected]>
---
 gnu/packages/ocaml5.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index 837c633f51..97261cde1d 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -2037,6 +2037,31 @@ output-generating code, interleaved with @code{%expect} 
extension expressions
 to denote the expected output.")
     (license license:expat)))
 
+(define %ocaml-odoc-base
+  (package
+    (name "ocaml5-odoc-base")
+    (version "3.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ocaml/odoc";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0azxv64jfgncq11ys9li9mn2vc3s5a5k48pbnrj3qmaj2xzkslbw"))))
+    (build-system dune-build-system)
+  (home-page "https://github.com/ocaml/odoc";)
+    (synopsis "OCaml documentation generator")
+    (description "Odoc is a documentation generator for OCaml.  It reads
+@emph{doc comments}, delimited with @code{(** ... *)}, and outputs
+@acronym{HTML}.
+
+Text inside doc comments is marked up in ocamldoc syntax.  Odoc's main
+advantage over ocamldoc is an accurate cross-referencer, which handles the
+complexity of the OCaml module system.")
+  (license license:isc)))
+
 ;;;
 ;;; 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