unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add bundler.
@ 2015-02-27 19:09 David Thompson
  2015-02-28 19:41 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: David Thompson @ 2015-02-27 19:09 UTC (permalink / raw)
  To: guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-bundler.patch --]
[-- Type: text/x-diff, Size: 1443 bytes --]

From c753913eca6180a1382379c1de96d222a17ddddc Mon Sep 17 00:00:00 2001
From: David Thompson <dthompson2@worcester.edu>
Date: Mon, 23 Feb 2015 19:10:57 -0500
Subject: [PATCH] gnu: Add bundler.

* gnu/packages/ruby.scm (bundler): New variable.
---
 gnu/packages/ruby.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 8b98876..d78fe1d 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -143,6 +143,26 @@ announcement.")
     (home-page "http://www.zenspider.com/projects/hoe.html")
     (license license:expat)))
 
+(define-public bundler
+  (package
+    (name "bundler")
+    (version "1.8.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/bundler/bundler/archive/v"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "0w80gig3g6zrm8d41afwgcnwqn0s26q1rpdhk5na0a3rndzi652w"))))
+    (build-system ruby-build-system)
+    (arguments
+     '(#:tests? #f)) ; TODO: requires rspec.
+    (synopsis "Ruby dependency manager")
+    (description "Bundler provides a consistent environment for Ruby projects by
+tracking and installing the exact gems and versions that are needed.")
+    (home-page "http://bundler.io/")
+    (license license:expat)))
+
 (define-public ruby-i18n
   (package
     (name "ruby-i18n")
-- 
2.1.4


[-- Attachment #2: Type: text/plain, Size: 136 bytes --]


-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gnu: Add bundler.
  2015-02-27 19:09 [PATCH] gnu: Add bundler David Thompson
@ 2015-02-28 19:41 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-02-28 19:41 UTC (permalink / raw)
  To: David Thompson; +Cc: guix-devel

David Thompson <dthompson2@worcester.edu> skribis:

> From c753913eca6180a1382379c1de96d222a17ddddc Mon Sep 17 00:00:00 2001
> From: David Thompson <dthompson2@worcester.edu>
> Date: Mon, 23 Feb 2015 19:10:57 -0500
> Subject: [PATCH] gnu: Add bundler.
>
> * gnu/packages/ruby.scm (bundler): New variable.

OK!

Ludo'.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-28 19:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-27 19:09 [PATCH] gnu: Add bundler David Thompson
2015-02-28 19:41 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).