[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/04: gnu: Add ruby-citrus.
From: |
guix-commits |
Subject: |
01/04: gnu: Add ruby-citrus. |
Date: |
Tue, 10 May 2022 09:58:53 -0400 (EDT) |
raghavgururajan pushed a commit to branch master
in repository guix.
commit 956ca540dc8d2e2fc10f0202cd78ecba5edd21f0
Author: Stephen Paul Weber <singpolyma@singpolyma.net>
AuthorDate: Tue May 10 08:57:15 2022 -0400
gnu: Add ruby-citrus.
* gnu/packages/ruby.scm (ruby-citrus): New variable.
Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
---
gnu/packages/ruby.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ff05f63662..ffc7ad3bec 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12420,3 +12420,25 @@ code")
(description "LazyObject is an object wrapper that forwards all calls to
the
reference object. This object is not created until the first method
dispatch.")
(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)
+ (home-page "http://mjackson.github.io/citrus/")
+ (synopsis "Parsing Expressions for Ruby")
+ (description "Citrus is a parsing library for Ruby that combines the
+expressiveness of the language with the parsing expressions.")
+ (license license:expat)))