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

commit 6dc2771140dab187b36719b5f991d1114f210532
Author: Jason Conroy <[email protected]>
AuthorDate: Thu Jan 15 13:56:17 2026 -0500

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

diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index 97261cde1d..1f766267d5 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -2062,6 +2062,22 @@ advantage over ocamldoc is an accurate cross-referencer, 
which handles the
 complexity of the OCaml module system.")
   (license license:isc)))
 
+(define-public ocaml-odoc-parser
+  (package
+    (inherit %ocaml-odoc-base)
+    (name "ocaml5-odoc-parser")
+    (arguments
+     `(#:package "odoc-parser"))
+    (propagated-inputs (list ocaml-astring ocaml-camlp-streams ocaml-fpath
+                             ocaml-result ocaml-uutf))
+    (native-inputs (list ocaml-ppx-expect ocaml-cppo ocaml-tyxml))
+    (home-page "https://github.com/ocaml/odoc";)
+    (synopsis "Parser for ocaml documentation comments")
+    (description
+     "This package provides a library for parsing the contents of OCaml
+documentation comments, formatted using Odoc syntax, an extension of the
+language understood by ocamldoc.")))
+
 ;;;
 ;;; 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