summary refs log tree commit diff
diff options
context:
space:
mode:
authorStephen Paul Weber <singpolyma@singpolyma.net>2022-05-10 07:46:35 -0400
committerRaghav Gururajan <rg@raghavgururajan.name>2022-05-10 07:47:33 -0400
commitad2f8ee1b233adfca8f97350598b7751480654c9 (patch)
treea105566cf562c2023ed9faa9f5f41534f44d5e20
parent1cb87949d96ee919008fded192532a87c06b60be (diff)
downloadguix-ad2f8ee1b233adfca8f97350598b7751480654c9.tar.gz
gnu: Add ruby-multihashes.
* gnu/packages/ruby.scm (ruby-multihashes): New variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
-rw-r--r--gnu/packages/ruby.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ebd2e088cc..9b3a61041a 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12380,3 +12380,24 @@ specification.  It provides 100% mutation coverage, tested on MRI 1.9, 2.0, 2.1,
 multiformats/multicodec, a canonical table of of codecs used by various
 multiformats.")
     (license license:expat)))
+
+(define-public ruby-multihashes
+  (package
+    (name "ruby-multihashes")
+    (version "0.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "multihashes" version))
+        (sha256
+          (base32 "17wiyy3fiv8rpgdv9ca01yncsmaaf8yg15bg18wc7m9frss1vgqg"))))
+    (build-system ruby-build-system)
+    (propagated-inputs
+     (list
+      ruby-multicodecs))
+    (home-page "https://github.com/multiformats/ruby-multihash")
+    (synopsis "Multihash implementation for Ruby")
+    (description "Multihashes provides a simple, low-level multihash
+implementation for Ruby.  A multihash is a digest with an embedded hash function
+code")
+    (license license:expat)))