gnu: Add ruby-multi-json.

* gnu/packages/ruby.scm (ruby-multi-json): New variable.
This commit is contained in:
Christopher Baines 2017-09-22 20:14:35 +01:00
parent 1c8e6fd30f
commit 9a97e7ce29
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 22 additions and 0 deletions

View File

@ -1865,6 +1865,28 @@ net/http library.")
(home-page "https://github.com/nicksieger/multipart-post") (home-page "https://github.com/nicksieger/multipart-post")
(license license:expat))) (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 (define-public ruby-arel
(package (package
(name "ruby-arel") (name "ruby-arel")