diff mbox series

[bug#50537,v2,12/27] gnu: Add ruby-cbor.

Message ID 20220427184633.94169-12-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-cbor): New variable.
---
 gnu/packages/ruby.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 55679c5703..2f2c623a99 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12544,3 +12544,29 @@  This object is not created until the first method dispatch.")
     (description "Parsing Expressions for Ruby")
     (home-page "http://mjackson.github.io/citrus/")
     (license license:expat)))
+
+(define-public ruby-cbor
+  (package
+    (name "ruby-cbor")
+    (version "0.5.9.6")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "cbor" version))
+        (sha256
+          (base32
+            "0511idr8xps9625nh3kxr68sdy6l3xy2kcz7r57g47fxb1v18jj3"))))
+    (build-system ruby-build-system)
+    (arguments
+     '(#:test-target "spec"))
+    (native-inputs
+     `(("ruby-rspec" ,ruby-rspec)
+       ("ruby-rake-compiler" ,ruby-rake-compiler)
+       ("ruby-yard" ,ruby-yard)))
+    (synopsis
+      "Ruby library for CBOR binary object representation format")
+    (description
+      "CBOR is a library for the CBOR binary object representation format,
+based on Sadayuki Furuhashi's MessagePack library.")
+    (home-page "http://cbor.io/")
+    (license license:asl2.0)))