Subject: [bug#75937] [PATCH v3 39/90] gnu: Add ruby-base64.

From: Nicolas Graves <[email-masked]>
Date: Fri, 31 Jan 2025 07:53:34 +0100

* gnu/packages/ruby.scm (ruby-base64): New variable.
---
 gnu/packages/ruby.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ef3b29c0a0..7bb0b07971 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1304,6 +1304,25 @@ (define-public bundler
     (home-page "https://bundler.io/")
     (license license:expat)))
 
+(define-public ruby-base64
+  (package
+    (name "ruby-base64")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "base64" version))
+       (sha256
+        (base32 "01qml0yilb9basf7is2614skjp8384h2pycfx86cr8023arfj98g"))))
+    (build-system ruby-build-system)
+    (arguments '(#:tests? #f))  ; No tests bundled.
+    (synopsis "Base64 encoding/decoding in Ruby")
+    (description
+     "This package provides support for encoding and decoding binary data
+using a Base64 representation.")
+    (home-page "https://github.com/ruby/base64")
+    (license (list license:bsd-2))))
+
 (define-public ruby-builder
   (package
     (name "ruby-builder")
-- 
2.48.1