From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:46651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnnvf-000512-Rn for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnnve-0006Sm-Ro for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48536) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnnve-0006SK-N6 for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnnve-0001nH-IA for guix-patches@gnu.org; Sun, 27 Jan 2019 12:09:06 -0500 Subject: [bug#34222] [PATCH 11/15] gnu: Add ruby-cliver. Resent-Message-ID: From: Christopher Baines Date: Sun, 27 Jan 2019 17:08:16 +0000 Message-Id: <20190127170820.28937-11-mail@cbaines.net> In-Reply-To: <20190127170820.28937-1-mail@cbaines.net> References: <87y376ghl0.fsf@cbaines.net> <20190127170820.28937-1-mail@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: 34222@debbugs.gnu.org Requirement of ruby-parser. * gnu/packages/ruby.scm (ruby-cliver): New variable. --- gnu/packages/ruby.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 2bb9ea1cff..061659e59f 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -869,6 +869,38 @@ code in Merb and Rails.") (home-page "https://github.com/jnunemaker/crack") (license license:expat))) +(define-public ruby-cliver + (package + (name "ruby-cliver") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "cliver" version)) + (sha256 + (base32 + "096f4rj7virwvqxhkavy0v55rax10r4jqf8cymbvn4n631948xc7")))) + (build-system ruby-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + ;; Avoid this issue with rspec@2 + ;; NoMethodError: undefined method `last_comment' + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "rspec")) + #t))))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rspec" ,ruby-rspec-2))) + (synopsis "Assertions for command-line dependencies in Ruby") + (description + "@code{cliver} provides a way to detect missing command-line +dependencies, including versions.") + (home-page "https://github.com/yaauie/cliver") + (license license:expat))) + (define-public ruby-czmq-ffi-gen (package (name "ruby-czmq-ffi-gen") -- 2.20.1