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

commit 1ea56fa02009f23f251197fb49b8ffe2fb8bf7b8
Author: Jason Conroy <[email protected]>
AuthorDate: Thu Feb 12 11:31:55 2026 -0500

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

diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index 82a31145ee..ca4b7ab87e 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -3316,6 +3316,31 @@ Parsers are backtracking by default and support 
unbounded lookahead.")
 range of RFCs.")
     (license license:isc)))
 
+(define-public ocaml-uri
+  (package
+    (name "ocaml5-uri")
+    (version "4.2.0")
+    (home-page "https://github.com/mirage/ocaml-uri";)
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url home-page)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1bgkc66cq00mgnkz3i535srwzwc4cpdsv0mly5dzvvq33451xwf0"))))
+    (build-system dune-build-system)
+    (arguments
+     '(#:package "uri"))
+    (propagated-inputs (list ocaml-stringext ocaml-angstrom))
+    (native-inputs (list ocaml-ounit ocaml-ppx-sexp-conv))
+    (properties `((upstream-name . "uri")))
+    (synopsis "RFC3986 URI/URL parsing library")
+    (description
+     "OCaml-uri is a library for parsing and unparsing RFC3986 URI strings.")
+    (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