From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:49074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gniyX-0002p3-8F for guix-patches@gnu.org; Sun, 27 Jan 2019 06:51:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnixE-00062M-71 for guix-patches@gnu.org; Sun, 27 Jan 2019 06:50:30 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47774) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnix0-0005z3-77 for guix-patches@gnu.org; Sun, 27 Jan 2019 06:50:12 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gniwy-0000DR-PP for guix-patches@gnu.org; Sun, 27 Jan 2019 06:50:10 -0500 Subject: [bug#34217] [PATCH 01/11] gnu: Add ruby-cucumber-wire. Resent-Message-ID: From: Christopher Baines Date: Sun, 27 Jan 2019 11:49:46 +0000 Message-Id: <20190127114956.26570-1-mail@cbaines.net> In-Reply-To: <87zhrmgy0x.fsf@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34217@debbugs.gnu.org Package version 0.0.1 initially, as this is what's needed by Cucumber 3, and Cucumber 4 hasn't been released yet. * gnu/packages/ruby.scm (ruby-cucumber-wire): New variable. --- gnu/packages/ruby.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index c6a65ffc58..649c7aa464 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3650,6 +3650,39 @@ and trust on your team.") (home-page "https://cucumber.io/") (license license:expat))) +(define-public ruby-cucumber-wire + (package + (name "ruby-cucumber-wire") + (version "0.0.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "cucumber-wire" version)) + (sha256 + (base32 + "09ymvqb0sbw2if1nxg8rcj33sf0va88ancq5nmp8g01dfwzwma2f")))) + (build-system ruby-build-system) + (arguments + '(;; TODO: Currently, the tests can't be run as cucumber is required, + ;; which would lead to a circular dependency. + #:tests? #f + #:test-target "default" + #:phases + (modify-phases %standard-phases + (add-before 'check 'set-CUCUMBER_USE_RELEASED_GEMS + (lambda _ + (setenv "CUCUMBER_USE_RELEASED_GEMS" "true") + #t))))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rspec" ,ruby-rspec))) + (synopsis "Cucumber wire protocol plugin") + (description + "Cucumber's wire protocol allows step definitions to be implemented and +invoked on any platform.") + (home-page "https://github.com/cucumber/cucumber-ruby-wire") + (license license:expat))) + (define-public ruby-bio-logger (package (name "ruby-bio-logger") -- 2.20.1