diff mbox series

[bug#50537,v2,14/27] gnu: Add ruby-base32.

Message ID 20220427184633.94169-14-singpolyma@singpolyma.net
State Accepted
Headers show
Series [bug#50537,v2,01/27] gnu: Add ruby-sucker-punch | 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

Stephen Paul Weber April 27, 2022, 6:46 p.m. UTC
* gnu/packages/ruby.scm (ruby-base32): New variable.
---
 gnu/packages/ruby.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 433a63111d..e3330d54eb 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12593,3 +12593,24 @@  based on Sadayuki Furuhashi's MessagePack library.")
     (home-page
     "https://github.com/svenfuchs/gem-release")
     (license license:expat)))
+
+(define-public ruby-base32
+  (package
+    (name "ruby-base32")
+    (version "0.3.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "base32" version))
+        (sha256
+          (base32
+            "1fjs0l3c5g9qxwp43kcnhc45slx29yjb6m6jxbb2x1krgjmi166b"))))
+    (build-system ruby-build-system)
+    (native-inputs
+     `(("ruby-gem-release" ,ruby-gem-release)))
+    (synopsis
+      "Ruby extension for base32 encoding and decoding")
+    (description
+      "Ruby extension for base32 encoding and decoding")
+    (home-page "https://github.com/stesla/base32")
+    (license license:expat)))