diff mbox series

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

Message ID yguk0jjc4ls.fsf@netpanic.org
State Accepted
Headers show
Series Add CHICKEN Eggs | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Simon Streit Sept. 14, 2021, 6:21 p.m. UTC
* gnu/packages/chicken.scm (chicken-matchable): New variable.
---
 gnu/packages/chicken.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

--
2.33.0
diff mbox series

Patch

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)))