Subject: [PATCH] gnu: Add sbcl-birch.
From: Roman Scherer <[email-masked]>
To: [email-masked]
Cc: Roman Scherer <[email-masked]>
Date: Sun, 15 Sep 2024 10:23:38 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/lisp-xyz.scm (sbcl-birch): New variable.

Change-Id: I2ea6358cc41ddd26aaaed81a1cb828c74450a111
---
 gnu/packages/lisp-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 2e0dea522e..6b48798530 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -1999,6 +1999,40 @@ (define-public cl-bit-smasher
 (define-public ecl-bit-smasher
   (sbcl-package->ecl-package sbcl-bit-smasher))
 
+(define-public sbcl-birch
+  (let ((commit "30cd24260675c6c4e276daaf28be8d02ac15dd8f")
+        (revision "0"))
+    (package
+      (name "sbcl-birch")
+      (version (git-version "1.0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/jorams/birch")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1b24xng92ra7420s3zy44pybk4h7xg4kjwdk35arl46badgi28r1"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs (list sbcl-alexandria
+                    sbcl-cl+ssl
+                    sbcl-flexi-streams
+                    sbcl-split-sequence
+                    sbcl-usocket))
+      (native-inputs (list sbcl-prove))
+      (home-page "https://github.com/jorams/birch")
+      (synopsis "Common Lisp IRC client library")
+      (description "Birch is a simple Common Lisp IRC client library.  It
+makes use of CLOS for event handling.")
+      (license (list license:expat)))))
+
+(define-public cl-birch
+  (sbcl-package->cl-source-package sbcl-birch))
+
+(define-public ecl-birch
+  (sbcl-package->ecl-package sbcl-birch))
+
 (define-public sbcl-bknr-datastore
   (let ((commit "c98d44f47cc88d19ff91ca3eefbd9719a8ace022")
         (revision "1"))

base-commit: 66611696975409a52478b95a862a464daeaefe2a
-- 
2.46.0