Subject: [bug#50590] [PATCH 7/8] gnu: Add chicken-fmt.

From: Simon Streit <[email-masked]>
Date: Tue, 14 Sep 2021 20:14:25 +0200

* gnu/packages/chicken.scm (chicken-fmt): New variable.
---
 gnu/packages/chicken.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/chicken.scm b/gnu/packages/chicken.scm
index ac3f3d5352..470ad9232c 100644
--- a/gnu/packages/chicken.scm
+++ b/gnu/packages/chicken.scm
@@ -414,3 +414,30 @@ is mostly intended to keep old code working.")
     (description "This egg provides support to make all core, extra, regex and
 SRFI-13 string operations unicode aware.")
     (license license:bsd-3)))
+
+(define-public chicken-fmt
+  (package
+    (name "chicken-fmt")
+    (version "0.8.11.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (egg-uri "fmt" version))
+        (sha256
+          (base32
+            "0w04zfkhh8cnns6n0m1s9zh8jn7nvm3h4nzvfzxiih84i6y13yx1"))))
+    (build-system chicken-build-system)
+    (arguments `(#:egg-name "fmt"))
+    (native-inputs `(("chicken-test" ,chicken-test)))
+    (propagated-inputs
+      `(("chicken-srfi-1" ,chicken-srfi-1)
+        ("chicken-srfi-13" ,chicken-srfi-13)
+        ("chicken-srfi-69" ,chicken-srfi-69)
+        ("chicken-utf8" ,chicken-utf8)))
+    (home-page "https://wiki.call-cc.org/egg/fmt")
+    (synopsis "Combinator Formatting")
+    (description "A library of procedures for formatting Scheme objects to
+text in various ways, and for easily concatenating, composing and extending
+these formatters efficiently without resorting to capturing and manipulating
+intermediate strings.")
+    (license license:bsd-3)))
--
2.33.0