From 47779dc5b5a2bdf3c72f443e4515b75671dbad94 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Mon, 5 Feb 2018 11:58:33 +0100 Subject: gnu: Add ruby-racc. --- gnu/packages/ruby.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) 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))) -- cgit v1.2.3