guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.
commit 6b23fe77eedc61115d78c6a604134bc57156ff90
Author: Jason Conroy <[email protected]>
AuthorDate: Wed Feb 4 09:48:03 2026 -0500
gnu: ocaml5: Add ocaml-jsonm.
* gnu/packages/ocaml5.scm (ocaml-jsonm): New variable.
Change-Id: I90c20a9cdfe90b5ed4a38ce2a793e2e18e7804d4
Signed-off-by: Julien Lepiller <[email protected]>
---
gnu/packages/ocaml5.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index 7e9b755c06..4f787370df 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -787,6 +787,33 @@ environment, parse command line arguments, interact with
the file system and
run command line programs.")
(license license:isc)))
+(define-public ocaml-jsonm
+ (package
+ (name "ocaml5-jsonm")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://erratique.ch/software/jsonm/releases/"
+ "jsonm-" version ".tbz"))
+ (sha256
+ (base32 "1mkvi88vwn4rxa5ir3k5qhm8h8z15iyd5rp1ycfj0ls0xfgj6aga"))))
+ (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 opaline))
+ (propagated-inputs (list ocaml-uutf ocaml-cmdliner))
+ (home-page "https://erratique.ch/software/jsonm")
+ (synopsis "Non-blocking streaming JSON codec for OCaml")
+ (description
+ "Jsonm is a non-blocking streaming codec to decode and encode
+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-ocplib-endian
(package
(name "ocaml5-ocplib-endian")