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

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

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

diff --git a/gnu/packages/chicken.scm b/gnu/packages/chicken.scm
index 470ad9232c..7385bf1436 100644
--- a/gnu/packages/chicken.scm
+++ b/gnu/packages/chicken.scm
@@ -441,3 +441,24 @@ 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)))
+
+(define-public chicken-matchable
+  (package
+    (name "chicken-matchable")
+    (version "1.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (egg-uri "matchable" version))
+        (sha256
+          (base32
+            "0bizkac4a926lbk0v2m05ysq359mzhfsqh973m72jc4gcj4azr5p"))))
+    (build-system chicken-build-system)
+    (arguments `(#:egg-name "matchable"))
+    (native-inputs `(("chicken-test" ,chicken-test)))
+    (home-page "https://wiki.call-cc.org/egg/matchable")
+    (synopsis "Hygienic MATCH replacement")
+    (description "Pattern matching allows complicated control decisions based
+on data structure to be expressed in a concise manner.  Pattern matching is
+found in several modern languages, notably Standard ML, Haskell and Miranda.")
+    (license license:public-domain)))
--
2.33.0