[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/04: gnu: Add ruby-cbor.
From: |
guix-commits |
Subject: |
02/04: gnu: Add ruby-cbor. |
Date: |
Tue, 10 May 2022 09:58:53 -0400 (EDT) |
raghavgururajan pushed a commit to branch master
in repository guix.
commit 7455ed8e520b6a3853b1495a4ae19553bf1e8813
Author: Stephen Paul Weber <singpolyma@singpolyma.net>
AuthorDate: Tue May 10 09:12:41 2022 -0400
gnu: Add ruby-cbor.
* gnu/packages/ruby.scm (ruby-cbor): New variable.
Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
---
gnu/packages/ruby.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ffc7ad3bec..75f31a3101 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12442,3 +12442,28 @@ reference object. This object is not created until
the first method dispatch.")
(description "Citrus is a parsing library for Ruby that combines the
expressiveness of the language with the parsing expressions.")
(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
+ (list
+ ruby-rspec
+ ruby-rake-compiler
+ ruby-yard))
+ (home-page "http://cbor.io/")
+ (synopsis "Concise Binary Object Representation")
+ (description "CBOR is a library for the
+@acronym{CBOR, Concise Binary Object Representation} format, based on
+Sadayuki Furuhashi's MessagePack library.")
+ (license license:asl2.0)))