summaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-07-14 22:36:33 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-07-17 23:01:31 -0400
commite098bdae3acdb024f0d73ac4245402811c644dac (patch)
tree7affa0640c8899ae38819180244c9006c0d6c101 /gnu/packages/ruby.scm
parent5c4c28f8f588d65a5b0162aeb81a8b4731e38fe6 (diff)
gnu: Add ruby-rexml.
* gnu/packages/ruby.scm (ruby-rexml): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 9099d2f8e6..ad1692f4b9 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6473,6 +6473,28 @@ by RuboCop to deal with Ruby's Abstract Syntax Tree (AST), in particular:
(home-page "https://rubocop.org/")
(license license:expat)))
+(define-public ruby-rexml
+ (package
+ (name "ruby-rexml")
+ (version "3.2.4")
+ (source
+ (origin
+ (method git-fetch) ;no tests in distributed gem
+ (uri (git-reference
+ (url "https://github.com/ruby/rexml.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0rhjjbkaq2f2cs8hyr2i4yjqpcyl8m0wmr2cypa401m3fvz4221i"))))
+ (build-system ruby-build-system)
+ (synopsis "XML toolkit for Ruby")
+ (description "Inspired by Electric XML library for Java, REXML aims to be
+easy-to-use API, small and fast. It supports both tree and stream document
+parsing.")
+ (home-page "https://github.com/ruby/rexml")
+ (license license:bsd-2)))
+
(define-public ruby-rubocop
(package
(name "ruby-rubocop")