diff options
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r-- | gnu/packages/ruby.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index d72400c625..77005a29c9 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7064,3 +7064,38 @@ https://github.com/flavorjones/loofah-activerecord).") "This package provides a library for working with Abstract Syntax Trees.") (home-page "https://whitequark.github.io/ast/") (license license:expat))) + +(define-public ruby-racc +(package + (name "ruby-racc") + (version "1.4.14") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "racc" version)) + (sha256 + (base32 + "00yhs2ag7yy5v83mqvkbnhk9bvsh6mx3808k53n61ddzx446v1zl")))) + (build-system ruby-build-system) + (arguments + `(#:tests? #f)) ; tests fail to compile + (native-inputs + `(("ruby-hoe" ,ruby-hoe) + ("ruby-rake-compiler" ,ruby-rake-compiler))) + (synopsis + "Racc is a LALR(1) parser generator. + It is written in Ruby itself, and generates Ruby program. + + NOTE: Ruby 1.8.x comes with Racc runtime module. You + can run your parsers generated by racc 1.4.x out of the + box.") + (description + "Racc is a LALR(1) parser generator. + It is written in Ruby itself, and generates Ruby program. + + NOTE: Ruby 1.8.x comes with Racc runtime module. You + can run your parsers generated by racc 1.4.x out of the + box.") + (home-page + "http://i.loveruby.net/en/projects/racc/") + (license license:expat))) |