aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-09-04 15:01:11 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-09-06 09:24:17 -0400
commitf847ad7bc05545b4193875815988628a297c72ae (patch)
tree954a9c4b9091ea36ab24c4ec69b42a8a0985dd7d /gnu/packages/ruby.scm
parent5ff89a1bd218d7f1030e5ca776c10017c2d90a59 (diff)
downloadpatches-f847ad7bc05545b4193875815988628a297c72ae.tar
patches-f847ad7bc05545b4193875815988628a297c72ae.tar.gz
gnu: Add ruby-ox.
* gnu/packages/ruby.scm (ruby-ox): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 516708e5cc..81ab4c7880 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1007,3 +1007,26 @@ core extensions extracted from the Rails framework. It includes support for
multibyte strings, internationalization, time zones, and testing.")
(home-page "http://www.rubyonrails.org")
(license license:expat)))
+
+(define-public ruby-ox
+ (package
+ (name "ruby-ox")
+ (version "2.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "ox" version))
+ (sha256
+ (base32
+ "00i11xd4ayh7349rhgskajfxn0qzkb74ab01217zix9qcapssxax"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:tests? #f)) ; no tests
+ (synopsis "Optimized XML library for Ruby")
+ (description
+ "Optimized XML (Ox) is a fast XML parser and object serializer for Ruby
+written as a native C extension. It was designed to be an alternative to
+Nokogiri and other Ruby XML parsers for generic XML parsing and as an
+alternative to Marshal for Object serialization. ")
+ (home-page "http://www.ohler.com/ox")
+ (license license:expat)))