Subject: [PATCH v2 20/27] gnu: Add ruby-nori.

From: Stephen Paul Weber <[email-masked]>
Date: Wed, 27 Apr 2022 13:46:26 -0500

* gnu/packages/ruby.scm (ruby-nori): New variable.
---
 gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index d734da56e0..62f2bbb97f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12753,3 +12753,27 @@ published rates from open-exchange-rates.  Compatible with the money gem.")
     (description "Routing tree web toolkit")
     (home-page "http://roda.jeremyevans.net")
     (license license:expat)))
+
+(define-public ruby-nori
+  (package
+    (name "ruby-nori")
+    (version "2.6.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "nori" version))
+        (sha256
+          (base32
+            "066wc774a2zp4vrq3k7k8p0fhv30ymqmxma1jj7yg5735zls8agn"))))
+    (build-system ruby-build-system)
+    (arguments
+     ;; Tests require too old version of rspec
+     `(#:tests? #f))
+    (native-inputs
+     `(("ruby-rspec" ,ruby-rspec)
+       ("ruby-rake" ,ruby-rake)
+       ("ruby-nokogiri" ,ruby-nokogiri)))
+    (synopsis "XML to Hash translator")
+    (description "XML to Hash translator")
+    (home-page "https://github.com/savonrb/nori")
+    (license license:expat)))
-- 
2.30.2