guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Patch] ruby-spring


From: Matthew Jordan
Subject: Re: [Patch] ruby-spring
Date: Wed, 01 Jun 2016 15:05:52 -0400
User-agent: mu4e 0.9.13; emacs 24.5.1

Good Day,

I have updated the synopsis and the description.  Please see the
following comment also;

> +    (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)))))

The files spring.gemspec and Rakefile do not exist.

>From 3a9d916463e7d10c275b65b5712ccd288fffdc07 Mon Sep 17 00:00:00 2001
From: Matthew Jordan <address@hidden>
Date: Tue, 31 May 2016 07:29:24 -0400
Subject: [PATCH] gnu: Add ruby-spring.

* gnu/packages/rails.scm: Modified file.
---
 gnu/packages/rails.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index 77ab354..1b1de06 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -23,6 +23,29 @@
   #: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 (rubygems-uri "spring" version))
+       (sha256
+        (base32
+         "165f6n6am36md1lzaivcg9bx09f7iph4vab0f8av2rlza4yi791p"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:tests? #f)) ;; no Rakefile found
+    (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 expat)))
+
 (define-public ruby-debug-inspector
   (package
     (name "ruby-debug-inspector")
-- 
2.8.3

Respectuflly,

-- 
Matthew Jordan
Sent with my mu4e

reply via email to

[Prev in Thread] Current Thread [Next in Thread]