gnu: Add ruby-json.

* gnu/packages/ruby.scm (ruby-json): New variable.
This commit is contained in:
David Thompson 2015-08-30 09:22:12 -04:00
parent 08a1b7013d
commit c99e224707
1 changed files with 19 additions and 0 deletions

View File

@ -961,3 +961,22 @@ utilities for Ruby.")
aware transformations between times in different time zones.") aware transformations between times in different time zones.")
(home-page "http://tzinfo.github.io") (home-page "http://tzinfo.github.io")
(license license:expat))) (license license:expat)))
(define-public ruby-json
(package
(name "ruby-json")
(version "1.8.3")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "json" version))
(sha256
(base32
"1nsby6ry8l9xg3yw4adlhk2pnc7i0h0rznvcss4vk3v74qg0k8lc"))))
(build-system ruby-build-system)
(arguments '(#:tests? #f)) ; dependency cycle with sdoc
(synopsis "JSON library for Ruby")
(description "This Ruby library provides a JSON implementation written as
a native C extension.")
(home-page "http://json-jruby.rubyforge.org/")
(license (list license:ruby license:gpl2)))) ; GPL2 only