Subject: [PATCH v2 11/27] gnu: Add ruby-citrus.

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

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index bf364102ba..55679c5703 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12522,3 +12522,25 @@ plus extensible, lightweight validation and coercion.")
 This object is not created until the first method dispatch.")
     (home-page "https://github.com/HornsAndHooves/lazy_object")
     (license license:expat)))
+
+(define-public ruby-citrus
+  (package
+    (name "ruby-citrus")
+    (version "3.0.2")
+    (source
+     (origin
+       (method git-fetch)
+       ;; Download from GitHub because the rubygems version does not contain
+       ;; files needed for tests
+       (uri (git-reference
+             (url "https://github.com/mjackson/citrus")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "197wrgqrddgm1xs3yvjvd8vkvil4h4mdrcp16jmd4b57rxrrr769"))))
+    (build-system ruby-build-system)
+    (synopsis "Parsing Expressions for Ruby")
+    (description "Parsing Expressions for Ruby")
+    (home-page "http://mjackson.github.io/citrus/")
+    (license license:expat)))
-- 
2.30.2