From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fty8C-0004tP-0t for guix-patches@gnu.org; Sun, 26 Aug 2018 12:43:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fty87-0002vQ-QP for guix-patches@gnu.org; Sun, 26 Aug 2018 12:43:14 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56579) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fty84-0002ox-NR for guix-patches@gnu.org; Sun, 26 Aug 2018 12:43:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fty84-0003uI-KO for guix-patches@gnu.org; Sun, 26 Aug 2018 12:43:08 -0400 Subject: [bug#32535] [PATCH 13/41] gnu: Add ruby-diffy. Resent-Message-ID: From: Julien Lepiller Date: Sun, 26 Aug 2018 18:41:35 +0200 Message-Id: <20180826164203.27318-13-julien@lepiller.eu> In-Reply-To: <20180826164203.27318-1-julien@lepiller.eu> References: <20180826183301.2d915be5@lepiller.eu> <20180826164203.27318-1-julien@lepiller.eu> 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: 32535@debbugs.gnu.org * gnu/packages/ruby.scm (ruby-diffy): New variable. --- gnu/packages/ruby.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 64fe68f8f..1ddaaef61 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -5291,3 +5291,26 @@ about the changes.") (description "ruby-terminfo provides terminfo binding for Ruby.") (home-page "http://ruby-terminfo.rubyforge.org") (license license:bsd-3))) + +(define-public ruby-diffy + (package + (name "ruby-diffy") + (version "3.2.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "diffy" version)) + (sha256 + (base32 + "119imrkn01agwhx5raxhknsi331y5i4yda7r0ws0an6905ximzjg")))) + (build-system ruby-build-system) + (arguments + ;; No tests + `(#:tests? #f)) + (native-inputs + `(("ruby-rspec" ,ruby-rspec))) + (synopsis "Convenient diffing in ruby") + (description "Diffy provides a convenient way to generate a diff from two +strings or files.") + (home-page "http://github.com/samg/diffy") + (license license:expat))) -- 2.18.0