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

commit c2aac1a1e4cfa3c4c457602b162973fe89079494
Author: Jason Conroy <[email protected]>
AuthorDate: Thu Feb 12 11:05:13 2026 -0500

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

diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index 8f59a24b3e..a56345ff16 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -821,6 +821,32 @@ the JSON data format.  It can process JSON text without 
blocking on IO and
 without a complete in-memory representation of the data.")
     (license license:isc)))
 
+(define-public ocaml-xmlm
+  (package
+    (name "ocaml5-xmlm")
+    (version "1.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://erratique.ch/software/xmlm/releases/";
+                           "xmlm-" version ".tbz"))
+       (sha256
+        (base32 "1ynrjba3wm3axscvggrfijfgsznmphhxnkffqch67l9xiqjm44h9"))))
+    (build-system ocaml-build-system)
+    (arguments
+     `(#:tests? #f
+       #:build-flags (list "build")
+       #:phases (modify-phases %standard-phases
+                  (delete 'configure))))
+    (native-inputs (list ocamlbuild ocaml-topkg opam-installer))
+    (home-page "https://erratique.ch/software/xmlm";)
+    (synopsis "Streaming XML codec for OCaml")
+    (description
+     "Xmlm is a streaming codec to decode and encode the XML data
+format.  It can process XML documents without a complete in-memory
+representation of the data.")
+    (license license:isc)))
+
 (define-public ocaml-ocplib-endian
   (package
     (name "ocaml5-ocplib-endian")

Reply via email to