From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 2/3] gnu: Add ruby-slop. Date: Sat, 13 Jun 2015 08:13:50 -0400 Message-ID: <87twubu7pd.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3kJt-0006MC-IM for guix-devel@gnu.org; Sat, 13 Jun 2015 08:13:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3kJs-0002xg-4s for guix-devel@gnu.org; Sat, 13 Jun 2015 08:13:53 -0400 Received: from mail.fsf.org ([208.118.235.13]:47383) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3kJs-0002xN-12 for guix-devel@gnu.org; Sat, 13 Jun 2015 08:13:52 -0400 Received: from 209-6-40-86.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.40.86]:36700 helo=izanagi) by mail.fsf.org with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1Z3kJq-0008QQ-TX for guix-devel@gnu.org; Sat, 13 Jun 2015 08:13:51 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0002-gnu-Add-ruby-slop.patch >From b92e076fbd1fdeb396044bf66df20e471710f39a Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 13 Jun 2015 07:53:23 -0400 Subject: [PATCH 2/3] gnu: Add ruby-slop. * gnu/packages/ruby.scm (ruby-slop): New variable. --- gnu/packages/ruby.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index bd7ab79..b248eab 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -603,3 +603,25 @@ run as a daemon and to be controlled by simple start/stop/restart commands.") and manipulate Git repositories by wrapping system calls to the git binary.") (home-page "https://github.com/schacon/ruby-git") (license license:expat))) + +(define-public ruby-slop + (package + (name "ruby-slop") + (version "4.1.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/leejarvis/slop/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0cqs50a0b99kjd19xpln8jpnki07cjyp3l7wxbfr44ycasr6nznh")))) + (build-system ruby-build-system) + (native-inputs + `(("ruby-minitest" ,ruby-minitest))) + (synopsis "Ruby command line option parser") + (description "Slop provides a Ruby domain specific language for gathering +options and parsing command line flags.") + (home-page "https://github.com/leejarvis/slop") + (license license:expat))) -- 2.2.1 --=-=-= Content-Type: text/plain -- David Thompson GPG Key: 0FF1D807 --=-=-=--