Subject: [PATCH 2/2] gnu: Add sbcl-s-base64.

From: Roman Scherer <[email-masked]>
Date: Fri, 13 Sep 2024 12:02:47 +0200

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

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

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 7b80d4df1e..b202f78b7d 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -25406,6 +25406,38 @@ (define-public cl-rutils
 (define-public ecl-rutils
   (sbcl-package->ecl-package sbcl-rutils))
 
+(define-public sbcl-s-base64
+  (let ((commit "ed473e220133ca0e8b5b96618ea2972dec9de6cd"))
+    (package
+      (name "sbcl-s-base64")
+      (version (git-version "0.1.0" "0" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/svenvc/s-base64")
+               (commit commit)))
+         (file-name (git-file-name "cl-s-base64" version))
+         (sha256
+          (base32 "0zrr8zhnkdy97c5g54605nhjlf7fly79ylr1yf6wwyssia04cagg"))))
+      (build-system asdf-build-system/sbcl)
+      (home-page "https://github.com/svenvc/s-base64")
+      (synopsis
+       "Common Lisp package to encode and decode base64")
+      (description
+       "This package provides a Common Lisp implementation of Base64 encoding
+and decoding.  Base64 encoding is a technique to encode binary data in a
+portable, safe printable, 7-bit ASCII format.  The package is used as a
+building block in a number of other open source projects e.g. the KPAX web
+development framework.")
+      (license license:bsd-3))))
+
+(define-public cl-s-base64
+  (sbcl-package->cl-source-package sbcl-s-base64))
+
+(define-public ecl-s-base64
+  (sbcl-package->ecl-package sbcl-s-base64))
+
 (define-public sbcl-s-sysdeps
   ;; No release since 2013.
   (let ((commit "7f8de283b7fbd8b038fdf08493063a736db36ce7")
-- 
2.46.0