[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/08: gnu: Add ruby-options.
From: |
Christopher Baines |
Subject: |
03/08: gnu: Add ruby-options. |
Date: |
Sat, 30 Sep 2017 06:47:12 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit cef87ed6bea8e86cf50c77275b15e73b28fefb9e
Author: Christopher Baines <address@hidden>
Date: Fri Sep 22 20:15:12 2017 +0100
gnu: Add ruby-options.
* gnu/packages/ruby.scm (ruby-options): New variable.
---
gnu/packages/ruby.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 504eb60..ec4d33f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -660,6 +660,34 @@ complexity.")
(home-page "https://github.com/ThoughtWorksStudios/saikuro_treemap")
(license license:expat)))
+(define-public ruby-options
+ (package
+ (name "ruby-options")
+ (version "2.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "options" version))
+ (sha256
+ (base32
+ "1s650nwnabx66w584m1cyw82icyym6hv5kzfsbp38cinkr5klh9j"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:tests? #f ;; TODO: NameError: uninitialized constant Config
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'set-LIB
+ (lambda _
+ ;; This is used in the Rakefile, and setting it avoids an issue
+ ;; with running the tests.
+ (setenv "LIB" "options"))))))
+ (synopsis "Ruby library to parse options from *args cleanly")
+ (description
+ "The @code{options} library helps with parsing keyword options in Ruby
+functions.")
+ (home-page "https://github.com/ahoward/options")
+ (license license:ruby)))
+
(define-public ruby-orderedhash
(package
(name "ruby-orderedhash")
- branch master updated (6e79949 -> afcbb02), Christopher Baines, 2017/09/30
- 01/08: gnu: Add ruby-httpclient., Christopher Baines, 2017/09/30
- 04/08: gnu: Add ruby-code-statistics., Christopher Baines, 2017/09/30
- 05/08: gnu: Add ruby-highline., Christopher Baines, 2017/09/30
- 07/08: gnu: Add ruby-rubyzip., Christopher Baines, 2017/09/30
- 02/08: gnu: Add ruby-multi-json., Christopher Baines, 2017/09/30
- 03/08: gnu: Add ruby-options.,
Christopher Baines <=
- 08/08: gnu: Add ruby-es-dump-restore., Christopher Baines, 2017/09/30
- 06/08: gnu: Add ruby-progress_bar., Christopher Baines, 2017/09/30