aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-01-09 11:15:59 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-03-28 22:22:29 -0400
commitc0a5b181a76fada2fbfcc2078d20b6a8198cf84a (patch)
tree46640c0803474a7e5d90e5e2d86d5d3a82a92cc1 /gnu
parent97096c268ce3d485306a3e21d6358429a37508b8 (diff)
downloadguix-c0a5b181a76fada2fbfcc2078d20b6a8198cf84a.tar.gz
guix-c0a5b181a76fada2fbfcc2078d20b6a8198cf84a.zip
gnu: Add ruby-msgpack.
* gnu/packages/ruby.scm (ruby-msgpack): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index a2ca791068..a266dd27f3 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4153,6 +4153,33 @@ to check for the presence of header files, constants, and so on.")
(home-page "https://github.com/djberg96/mkmf-lite")
(license license:asl2.0)))
+(define-public ruby-msgpack
+ (package
+ (name "ruby-msgpack")
+ (version "1.6.1")
+ (source (origin
+ (method git-fetch) ;for tests
+ (uri (git-reference
+ (url "https://github.com/msgpack/msgpack-ruby")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "08wi853nv02clrdwx8s6dg9lmcyzq5fk84l4rb94pglps76rlvz7"))))
+ (build-system ruby-build-system)
+ (arguments (list #:test-target "spec"))
+ (native-inputs
+ (list ruby-rake-compiler
+ ruby-ruby-memcheck
+ ruby-rspec
+ ruby-yard))
+ (synopsis "Efficient object serialization library for Ruby")
+ (description "MessagePack is a binary-based efficient object serialization
+library. It enables to exchange structured objects between many languages
+like JSON. Unlike JSON, it is very fast and small.")
+ (home-page "https://msgpack.org/")
+ (license license:asl2.0)))
+
(define-public ruby-mspec
(package
(name "ruby-mspec")