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

commit 991514a70f56b1047d26cf3b367317d1ee9dc9d5
Author: Jason Conroy <[email protected]>
AuthorDate: Thu Jan 15 10:42:13 2026 -0500

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

diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index 55a870be9e..82233b5a15 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -1059,6 +1059,34 @@ arbitrary-precision integer and rational arithmetic that 
used to be part of
 the OCaml core distribution.")
     (license license:lgpl2.1+)))
 
+(define-public ocaml-octavius
+  (package
+    (name "ocaml5-octavius")
+    (version "1.2.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ocaml-doc/octavius";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1c5m51xcn2jv42kjjpklr6g63sgx1k885wfdp1yr4wrmiaj9cbpx"))))
+    (build-system dune-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (add-before 'build 'make-writable
+                    (lambda _
+                      (for-each (lambda (file)
+                                  (chmod file #o644))
+                                (find-files "." ".")) #t)))))
+    (properties `((upstream-name . "octavius")))
+    (home-page "https://github.com/ocaml-doc/octavius";)
+    (synopsis "Ocamldoc comment syntax parser")
+    (description
+     "Octavius is a library to parse the `ocamldoc` comment syntax.")
+    (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