aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2017-09-22 20:14:35 +0100
committerChristopher Baines <mail@cbaines.net>2017-09-30 11:46:09 +0100
commit9a97e7ce29660a0d0e8c24f2a7209b1466bfae31 (patch)
tree47de20ede2edcc8bb535164241263cebb5886715 /gnu/packages/ruby.scm
parent1c8e6fd30f31c61ba74344921e4d95d4867f25b5 (diff)
downloadguix-9a97e7ce29660a0d0e8c24f2a7209b1466bfae31.tar
guix-9a97e7ce29660a0d0e8c24f2a7209b1466bfae31.tar.gz
gnu: Add ruby-multi-json.
* gnu/packages/ruby.scm (ruby-multi-json): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ff6be875fb..504eb60a98 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1865,6 +1865,28 @@ net/http library.")
(home-page "https://github.com/nicksieger/multipart-post")
(license license:expat)))
+(define-public ruby-multi-json
+ (package
+ (name "ruby-multi-json")
+ (version "1.12.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "multi_json" version))
+ (sha256
+ (base32
+ "1raim9ddjh672m32psaa9niw67ywzjbxbdb8iijx3wv9k5b0pk2x"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:tests? #f)) ;; No testsuite included in the gem.
+ (synopsis "Common interface to multiple JSON libraries for Ruby")
+ (description
+ "This package provides a common interface to multiple JSON libraries,
+including Oj, Yajl, the JSON gem (with C-extensions), the pure-Ruby JSON gem,
+NSJSONSerialization, gson.rb, JrJackson, and OkJson.")
+ (home-page "http://github.com/intridea/multi_json")
+ (license license:expat)))
+
(define-public ruby-arel
(package
(name "ruby-arel")