From f847ad7bc05545b4193875815988628a297c72ae Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 4 Sep 2015 15:01:11 -0400 Subject: 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 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))) -- cgit v1.2.3