From patchwork Sun Jan 27 17:08:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 857 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D201916AB8; Sun, 27 Jan 2019 17:10:07 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 6A0C816AB6 for ; Sun, 27 Jan 2019 17:10:07 +0000 (GMT) Received: from localhost ([127.0.0.1]:48271 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnwd-0005eI-0l for patchwork@mira.cbaines.net; Sun, 27 Jan 2019 12:10:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnvi-00053n-7h for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnnvh-0006Wa-AP for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48541) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnnvh-0006WP-6P for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnnvh-0001ns-13 for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34222] [PATCH 12/15] gnu: Add ruby-parser. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Jan 2019 17:09:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34222@debbugs.gnu.org Received: via spool by 34222-submit@debbugs.gnu.org id=B34222.15486089166787 (code B ref 34222); Sun, 27 Jan 2019 17:09:08 +0000 Received: (at 34222) by debbugs.gnu.org; 27 Jan 2019 17:08:36 +0000 Received: from localhost ([127.0.0.1]:47808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnvA-0001lK-Ff for submit@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:36 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57998 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnux-0001ia-Ut for 34222@debbugs.gnu.org; Sun, 27 Jan 2019 12:08:27 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id B205A16AC1 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:21 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id b9ab09e8 for <34222@debbugs.gnu.org>; Sun, 27 Jan 2019 17:08:20 +0000 (UTC) From: Christopher Baines Date: Sun, 27 Jan 2019 17:08:17 +0000 Message-Id: <20190127170820.28937-12-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127170820.28937-1-mail@cbaines.net> References: <87y376ghl0.fsf@cbaines.net> <20190127170820.28937-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Required for ruby-rubocop. * gnu/packages/ruby.scm (ruby-parser): New variable. --- gnu/packages/ruby.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 061659e59f..ccc58effa0 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -2818,6 +2818,33 @@ for select languages.") (home-page "http://coderay.rubychan.de") (license license:expat))) +(define-public ruby-parser + (package + (name "ruby-parser") + (version "2.6.0.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "parser" version)) + (sha256 + (base32 + "1hhz2k5417vr2k1llwqgjdnmyrhlpqicy0y2arr6r1gp04fg9wlm")))) + (build-system ruby-build-system) + (native-inputs + `(("bundler" ,bundler) + ("ruby-cliver" ,ruby-cliver) + ("ruby-simplecov" ,ruby-simplecov) + ("ruby-racc" ,ruby-racc))) + (inputs + `(("ragel" ,ragel))) + (propagated-inputs + `(("ruby-ast" ,ruby-ast))) + (synopsis "Ruby parser written in pure Ruby") + (description + "This package provides a Ruby parser written in pure Ruby.") + (home-page "https://github.com/whitequark/parser") + (license license:expat))) + (define-public ruby-progress_bar (package (name "ruby-progress_bar")