From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Jordan Subject: Re: [Patch] ruby-spring Date: Fri, 03 Jun 2016 01:39:33 -0400 Message-ID: <87h9dahluy.fsf@mailerver.i-did-not-set--mail-host-address--so-tickle-me> References: <87twhexms6.fsf@mailerver.i-did-not-set--mail-host-address--so-tickle-me> <574ED9E0.7070505@uq.edu.au> <87d1o0ybjj.fsf@mailerver.i-did-not-set--mail-host-address--so-tickle-me> <574F69DA.7080803@uq.edu.au> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8hqn-00016h-MD for guix-devel@gnu.org; Fri, 03 Jun 2016 01:40:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8hqk-0005tJ-BV for guix-devel@gnu.org; Fri, 03 Jun 2016 01:40:53 -0400 Received: from forward5h.cmail.yandex.net ([87.250.230.20]:51729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8hqi-0005s9-T4 for guix-devel@gnu.org; Fri, 03 Jun 2016 01:40:50 -0400 In-reply-to: <574F69DA.7080803@uq.edu.au> 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" To: Ben Woodcroft Cc: guix-devel --=-=-= Content-Type: text/plain Good Day, I have updated the patch as suggested. Note that prefix for the license module import has been added in "[Patch] ruby-debug-inspector" as that patch is the first in the rails patch series. Also my apologies with regards to the your previous email, I missed the change to the fetch url. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0002-gnu-Add-ruby-spring.patch Content-Description: Add ruby-spring package. >From 77154d38b096ba75cc9bc8910ff158445d76f87c Mon Sep 17 00:00:00 2001 From: Matthew Jordan Date: Tue, 31 May 2016 07:29:24 -0400 Subject: [PATCH 2/2] gnu: Add ruby-spring. * gnu/packages/rails.scm (ruby-spring): New variable --- gnu/packages/rails.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index 80e73d7..48a7008 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -23,6 +23,44 @@ #:use-module (gnu packages ruby) #:use-module (guix build-system ruby)) +(define-public ruby-spring + (package + (name "ruby-spring") + (version "1.7.1") + (source + (origin + (method url-fetch) + (uri + (string-append "https://github.com/rails/spring/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0czc4mkwfngcqmna49a0l98f6wlhdq2i8gwr63lrmk90d9k25x1n")))) + (build-system ruby-build-system) + (arguments + `(#:test-target "test:unit" + #:phases + (modify-phases %standard-phases + (add-before 'check 'remove-bump + (lambda _ + (substitute* "spring.gemspec" + (("gem.add_development_dependency 'bump'") "")) + (substitute* "Rakefile" + (("require \\\"bump/tasks\\\"") "")) + #t))))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-activesupport" ,ruby-activesupport))) + (synopsis + "Spring is a Rails application preloader") + (description + "Spring is a Rails application preloader. It speeds up development by +keeping your application running in the background so you don't need to boot +it every time you run a test, rake task or migration.") + (home-page "https://github.com/rails/spring") + (license license:expat))) + (define-public ruby-debug-inspector (package (name "ruby-debug-inspector") -- 2.8.3 --=-=-= Content-Type: text/plain Sincerely, -- Matthew Jordan Sent with my mu4e --=-=-=--