3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: Add ruby-citrus.

* gnu/packages/ruby.scm (ruby-citrus): New variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
This commit is contained in:
Stephen Paul Weber 2022-05-10 08:57:15 -04:00 committed by Raghav Gururajan
parent 000a620d17
commit 956ca540dc
Signed by: raghavgururajan
GPG key ID: 5F5816647F8BE551

View file

@ -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)))