Subject: [PATCH 2/8] gnu: Add chicken-srfi-18.

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

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

diff --git a/gnu/packages/chicken.scm b/gnu/packages/chicken.scm
index e471a5700e..5a25573b37 100644
--- a/gnu/packages/chicken.scm
+++ b/gnu/packages/chicken.scm
@@ -300,3 +300,25 @@ with integers.")
     (description "This egg provides a way to do on-the-fly compilation of
 source code and load it into the running process.")
     (license license:bsd-3)))
+
+(define-public chicken-srfi-18
+  (package
+    (name "chicken-srfi-18")
+    (version "0.1.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (egg-uri "srfi-18" version))
+       (sha256
+        (base32
+         "0v2pkdck0ji1wiqgg8sg4z6rbkj2qw4vy4b9lx0w0pmhlxqpg1xd"))))
+    (build-system chicken-build-system)
+    (arguments `(#:egg-name "srfi-18"))
+    (native-inputs
+     `(("chicken-compile-file" ,chicken-compile-file)))
+    (home-page "https://wiki.call-cc.org/egg/srfi-18")
+    (synopsis "SRFI-18 thread library")
+    (description "A multithreading package, largely following the
+specification of @uref{https://srfi.schemers.org/srfi-18/srfi-18.html,
+SRFI-18}.")
+    (license license:bsd-3)))
--
2.33.0