From: Ben Woodcroft <b.woodcroft@uq.edu.au>
To: "Thompson, David" <dthompson2@worcester.edu>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] 11 little Ruby gems.
Date: Wed, 7 Oct 2015 19:08:05 +1000 [thread overview]
Message-ID: <5614E0F5.2090509@uq.edu.au> (raw)
In-Reply-To: <CAJ=RwfY6hktEF+scmw3+iuGabcj2Q7WjjPWzRz-NZ7zm+jt-hg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 427 bytes --]
On 07/10/15 04:25, Thompson, David wrote:
> In short, yes, your patches are very welcome. Thanks! - Dave
Here ya go then.
Can I ask, would it be helpful to alphabetize the packages in ruby.scm,
at least vaguely? Always adding new packages to the bottom of the file
causes git merge conflicts I would imagine. Of course, it would be even
more helpful if guix import put them in the right spot too, but that
seems harder.
[-- Attachment #2: 0001-gnu-Add-ruby-rspec-core-2.patch --]
[-- Type: text/x-patch, Size: 1050 bytes --]
From 5a9ae660aa19c3ddc1365e17bf30f3263422b698 Mon Sep 17 00:00:00 2001
From: Ben Woodcroft <donttrustben@gmail.com>
Date: Wed, 7 Oct 2015 18:41:03 +1000
Subject: [PATCH 1/5] gnu: Add ruby-rspec-core-2.
* gnu/packages/ruby.scm (ruby-rspec-core-2): New variable.
---
gnu/packages/ruby.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index c906361..9ad3f81 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -258,6 +258,17 @@ groups.")
(home-page "https://github.com/rspec/rspec-core")
(license license:expat)))
+(define-public ruby-rspec-core-2
+ (package (inherit ruby-rspec-core)
+ (version "2.14.8")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "rspec-core" version))
+ (sha256
+ (base32
+ "0psjy5kdlz3ph39br0m01w65i1ikagnqlg39f8p65jh5q7dz8hwc"))))
+ (propagated-inputs `())))
+
(define-public ruby-diff-lcs
(package
(name "ruby-diff-lcs")
--
2.4.3
[-- Attachment #3: 0002-gnu-Add-ruby-rspec-expectations-2.patch --]
[-- Type: text/x-patch, Size: 1163 bytes --]
From ef34aa18531a98fc0bfcab496ae466c8ab70104d Mon Sep 17 00:00:00 2001
From: Ben Woodcroft <donttrustben@gmail.com>
Date: Wed, 7 Oct 2015 18:42:54 +1000
Subject: [PATCH 2/5] gnu: Add ruby-rspec-expectations-2.
* gnu/packages/ruby.scm (ruby-rspec-expectations-2): New variable.
---
gnu/packages/ruby.scm | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 9ad3f81..c8ee6d0 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -312,6 +312,18 @@ outcomes of a code example.")
(home-page "https://github.com/rspec/rspec-expectations")
(license license:expat)))
+(define-public ruby-rspec-expectations-2
+ (package (inherit ruby-rspec-expectations)
+ (version "2.14.5")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "rspec-expectations" version))
+ (sha256
+ (base32
+ "1ni8kw8kjv76jvwjzi4jba00k3qzj9f8wd94vm6inz0jz3gwjqf9"))))
+ (propagated-inputs
+ `(("ruby-diff-lcs" ,ruby-diff-lcs)))))
+
(define-public ruby-rspec-mocks
(package
(name "ruby-rspec-mocks")
--
2.4.3
[-- Attachment #4: 0003-gnu-Add-ruby-rspec-mocks-2.patch --]
[-- Type: text/x-patch, Size: 1115 bytes --]
From c16de1f8961269ca796e897e7c97f2bdc2875d84 Mon Sep 17 00:00:00 2001
From: Ben Woodcroft <donttrustben@gmail.com>
Date: Wed, 7 Oct 2015 18:43:43 +1000
Subject: [PATCH 3/5] gnu: Add ruby-rspec-mocks-2.
* gnu/packages/ruby.scm (ruby-rspec-mocks-2): New variable.
---
gnu/packages/ruby.scm | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index c8ee6d0..7324f85 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -346,6 +346,18 @@ support for stubbing and mocking.")
(home-page "https://github.com/rspec/rspec-mocks")
(license license:expat)))
+(define-public ruby-rspec-mocks-2
+ (package (inherit ruby-rspec-mocks)
+ (version "2.14.6")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "rspec-mocks" version))
+ (sha256
+ (base32
+ "1fwsmijd6w6cmqyh4ky2nq89jrpzh56hzmndx9wgkmdgfhfakv30"))))
+ (propagated-inputs
+ `(("ruby-diff-lcs" ,ruby-diff-lcs)))))
+
(define-public ruby-rspec
(package
(name "ruby-rspec")
--
2.4.3
[-- Attachment #5: 0004-gnu-Add-ruby-rspec-2.patch --]
[-- Type: text/x-patch, Size: 1255 bytes --]
From 4de0d42bc3453c5fd1f8aa19b1a69b24b67cf271 Mon Sep 17 00:00:00 2001
From: Ben Woodcroft <donttrustben@gmail.com>
Date: Wed, 7 Oct 2015 18:45:04 +1000
Subject: [PATCH 4/5] gnu: Add ruby-rspec-2.
* gnu/packages/ruby.scm (ruby-rspec-2): New variable.
---
gnu/packages/ruby.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 7324f85..0d74cf4 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -382,6 +382,20 @@ expectations and mocks frameworks.")
(home-page "http://rspec.info/")
(license license:expat)))
+(define-public ruby-rspec-2
+ (package (inherit ruby-rspec)
+ (version "2.14.1")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "rspec" version))
+ (sha256
+ (base32
+ "134y4wzk1prninb5a0bhxgm30kqfzl8dg06af4js5ylnhv2wd7sg"))))
+ (propagated-inputs
+ `(("ruby-rspec-core" ,ruby-rspec-core-2)
+ ("ruby-rspec-mocks" ,ruby-rspec-mocks-2)
+ ("ruby-rspec-expectations" ,ruby-rspec-expectations-2)))))
+
;; Bundler is yet another source of circular dependencies, so we must disable
;; its test suite as well.
(define-public bundler
--
2.4.3
[-- Attachment #6: 0005-gnu-Add-ruby-yard.patch --]
[-- Type: text/x-patch, Size: 1841 bytes --]
From 31115f17b536f7c02f09347ea6f04275668b8d02 Mon Sep 17 00:00:00 2001
From: Ben Woodcroft <donttrustben@gmail.com>
Date: Wed, 7 Oct 2015 18:57:24 +1000
Subject: [PATCH 5/5] gnu: Add ruby-yard.
* gnu/packages/ruby.scm (ruby-yard): New variable.
---
gnu/packages/ruby.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0d74cf4..2703c9f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1464,3 +1464,34 @@ and trust on your team.")
features such as filtering and fine grained logging.")
(home-page "https://github.com/pjotrp/bioruby-logger-plugin")
(license license:expat)))
+
+(define-public ruby-yard
+ (package
+ (name "ruby-yard")
+ (version "0.8.7.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "yard" version))
+ (sha256
+ (base32
+ "1dj6ibc0qqvmb5a5r5kk0vhr04mnrz9b26gnfrs5p8jgp620i89x"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:test-target "specs"
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'set-HOME
+ ;; $HOME needs to be set to somewhere writeable for tests to run
+ (lambda _ (setenv "HOME" "/tmp") #t)))))
+ (native-inputs
+ `(("ruby-rspec" ,ruby-rspec-2)
+ ("ruby-rack" ,ruby-rack)))
+ (synopsis "Documentation generation tool for Ruby")
+ (description
+ "YARD is a documentation generation tool for the Ruby programming
+language. It enables the user to generate consistent, usable documentation
+that can be exported to a number of formats very easily, and also supports
+extending for custom Ruby constructs such as custom class level definitions.")
+ (home-page "http://yardoc.org")
+ (license license:expat)))
--
2.4.3
next prev parent reply other threads:[~2015-10-07 9:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-16 9:12 [PATCH] 11 little Ruby gems Ricardo Wurmus
2015-09-19 12:54 ` Thompson, David
2015-09-19 20:15 ` Ricardo Wurmus
2015-10-06 14:35 ` Ricardo Wurmus
2015-10-06 14:55 ` Ben Woodcroft
2015-10-06 18:25 ` Thompson, David
2015-10-07 9:08 ` Ben Woodcroft [this message]
2015-10-13 14:08 ` Ricardo Wurmus
2015-10-14 2:27 ` Ben Woodcroft
2015-10-30 16:22 ` Ricardo Wurmus
2015-10-31 10:33 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5614E0F5.2090509@uq.edu.au \
--to=b.woodcroft@uq.edu.au \
--cc=dthompson2@worcester.edu \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).