aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-08-30 09:22:12 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-09-06 09:08:49 -0400
commitc99e2247078468e8755bd29dc9329b889dec910a (patch)
treeafd66a527e591d70c41ccdc14bfe9d34716e7bc7 /gnu
parent08a1b7013df6d081037406a2a9e180724ecd79b3 (diff)
downloadguix-c99e2247078468e8755bd29dc9329b889dec910a.tar
guix-c99e2247078468e8755bd29dc9329b889dec910a.tar.gz
gnu: Add ruby-json.
* gnu/packages/ruby.scm (ruby-json): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 6c346d52f1..3b4dc6d8e3 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -961,3 +961,22 @@ utilities for Ruby.")
aware transformations between times in different time zones.")
(home-page "http://tzinfo.github.io")
(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