>From 4cff199e5ba8b2520dbd035c19aba0ba940d7083 Mon Sep 17 00:00:00 2001
From: David Thompson <[email protected]>
Date: Fri, 4 Sep 2015 15:01:11 -0400
Subject: [PATCH] gnu: Add ruby-ox.
* gnu/packages/ruby.scm (ruby-ox): New variable.
---
gnu/packages/ruby.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index a01a698..c860233 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1026,3 +1026,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)))
--
2.5.0
--
David Thompson
GPG Key: 0FF1D807