guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 223cde11c4523430dac4b26bf2a82fcb8f2f518f
Author: Malte Frank Gerdes <[email protected]>
AuthorDate: Fri Sep 11 14:10:15 2026 +0200

    gnu: chicken: Add chicken-uri-common.
    
    * gnu/packages/chicken.scm (chicken-uri-common): New variable.
    
    Signed-off-by: Liliana Marie Prikler <[email protected]>
---
 gnu/packages/chicken.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/chicken.scm b/gnu/packages/chicken.scm
index 9daa54e4a0f..370647bf7c5 100644
--- a/gnu/packages/chicken.scm
+++ b/gnu/packages/chicken.scm
@@ -772,6 +772,44 @@ SSAX/SXML Sourceforge project.")
     (description "This egg provides a glossary and a runner for the test egg.")
     (license license:expat)))
 
+(define-public chicken-uri-common
+  (package
+    (name "chicken-uri-common")
+    (version "3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (egg-uri "uri-common" version))
+       (sha256
+        (base32 "1vxqdzr49zm68ny9yx70yxacpzjym9n15w8kyqxnwgcrjgidndpy"))))
+    (build-system chicken-build-system)
+    (arguments
+     (list
+      #:egg-name "uri-common"))
+    (native-inputs (list chicken-test))
+    (propagated-inputs
+     (list chicken-uri-generic
+           chicken-defstruct
+           chicken-matchable
+           chicken-srfi-1
+           chicken-srfi-13
+           chicken-srfi-14))
+    (home-page "https://wiki.call-cc.org/egg/uri-common";)
+    (synopsis "Parser for common URI schemes")
+    (description "The uri-common library provides simple and easy-to-use
+parsing and manipulation procedures for URIs using common schemes.  These
+common schemes all have the following rules:
+@itemize
+@item An empty path after the hostname is considered to be identical to the
+root path.
+@item All components are to be fully URI-decoded (so no percent-encoded
+characters in it).
+@item The query argument will be in application/x-www-form-urlencoded form.
+@item The port is automatically determined if it is omitted and the URI scheme
+is known.
+@end itemize")
+    (license license:bsd-3)))
+
 (define-public chicken-uri-generic
   (package
     (name "chicken-uri-generic")

Reply via email to