1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-07-25 12:59:29 +02:00

gnu: ocaml5: Add %ocaml-odoc-base.

* gnu/packages/ocaml5.scm (%ocaml-odoc-base): New variable.

Change-Id: I1271de3b97e5c3d1763d746fafb795906943b413
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
Jason Conroy
2026-01-15 13:52:35 -05:00
committed by Julien Lepiller
parent 5e7ac6d167
commit da97add730
+25
View File
@@ -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