From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxBbL-0008K4-DA for guix-patches@gnu.org; Wed, 27 Sep 2017 08:38:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxBbG-0001g5-Dc for guix-patches@gnu.org; Wed, 27 Sep 2017 08:38:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53871) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dxBbG-0001g1-7q for guix-patches@gnu.org; Wed, 27 Sep 2017 08:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dxBbF-0003AE-SC for guix-patches@gnu.org; Wed, 27 Sep 2017 08:38:01 -0400 Subject: [bug#28583] [PATCH 4/7] gnu: Add ruby-highline. Resent-Message-ID: References: <20170924171717.3855-1-mail@cbaines.net> <20170924171717.3855-4-mail@cbaines.net> From: Ben Woodcroft Message-ID: <6aeccdcc-1509-6440-7ee8-1ca4fc7615e8@uq.edu.au> Date: Wed, 27 Sep 2017 22:37:39 +1000 MIME-Version: 1.0 In-Reply-To: <20170924171717.3855-4-mail@cbaines.net> Content-Type: multipart/mixed; boundary="------------AB58377800C75451934A085F" Content-Language: en-US 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: Christopher Baines , 28583@debbugs.gnu.org This is a multi-part message in MIME format. --------------AB58377800C75451934A085F Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 25/09/17 03:17, Christopher Baines wrote: > * gnu/packages/ruby.scm (ruby-highline): 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 1ee03e066..9863d4b37 100644 > --- a/gnu/packages/ruby.scm > +++ b/gnu/packages/ruby.scm > @@ -216,6 +216,33 @@ a focus on simplicity and productivity.") > (("/bin/sh") (which "sh")))) > %standard-phases))))) > > +(define-public ruby-highline > + (package > + (name "ruby-highline") > + (version "1.7.8") > + (source > + (origin > + (method url-fetch) > + (uri (rubygems-uri "highline" version)) > + (sha256 > + (base32 > + "1nf5lgdn6ni2lpfdn4gk3gi47fmnca2bdirabbjbz1fk9w4p8lkr")))) > + (build-system ruby-build-system) > + (arguments > + `(#:tests? #f)) ;; TODO: Requires code_statistics I've attached a package for code_statistics, but adding it does not help because there appears to be something amiss in the Rakefile. This has been fixed in the not quite released 2.0.0 version, so the patch may be useful in future. > + (native-inputs > + `(("bundler" ,bundler))) > + (synopsis > + "HighLine helps you build command-line interfaces") > + (description > + "HighLine provides a high-level IO library that provides validation, > +type conversion, and more for command-line interfaces. > + > +HighLine also includes a menu system for providing multiple options to the > +user.") I would combine the two sentences into one paragraph. Otherwise LGTM. --------------AB58377800C75451934A085F Content-Type: text/x-patch; name="0001-gnu-Add-ruby-code-statistics.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-gnu-Add-ruby-code-statistics.patch" >From e2fb88306d527db0bbc53e980a071474d3b67100 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Wed, 27 Sep 2017 22:18:33 +1000 Subject: [PATCH] gnu: Add ruby-code-statistics. * gnu/packages/ruby.scm (ruby-code-statistics): New variable. --- gnu/packages/ruby.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 1ee03e066..c41c80569 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -4378,3 +4378,24 @@ really opens up the email messages you are parsing, if you know what you are doing, you can fiddle with every last bit of your email directly.") (home-page "https://github.com/mikel/mail") (license license:expat))) + +(define-public ruby-code-statistics + (package + (name "ruby-code-statistics") + (version "0.2.13") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "code_statistics" version)) + (sha256 + (base32 + "07rdpsbwbmh4vp8nxyh308cj7am2pbrfhv9v5xr2d5gq8hnnsm93")))) + (build-system ruby-build-system) + (arguments + `(#:tests? #f)) ; Not all test code is included in gem. + (synopsis "Port of the rails 'rake stats' method") + (description + "This gem is a port of the rails 'rake stats' method so it can be made +more robust and work for non rails projects.") + (home-page "http://github.com/danmayer/code_statistics") + (license license:expat))) -- 2.14.1 --------------AB58377800C75451934A085F--