aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-09-16 11:00:45 +0200
committerDavid Thompson <dthompson2@worcester.edu>2015-09-19 08:45:12 -0400
commitc5d14d42282fe9d4123f1efa0f995123781e17da (patch)
treec7c023dad954e7b0f636e74c7887c57edfcdc025 /gnu/packages
parent70b4cf3818c9fb5abfb49df77bcafbd5406ee700 (diff)
downloadguix-c5d14d42282fe9d4123f1efa0f995123781e17da.tar.gz
guix-c5d14d42282fe9d4123f1efa0f995123781e17da.zip
gnu: Add ruby-shellany.
* gnu/packages/ruby.scm (ruby-shellany): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ruby.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0127a616de..e8ec6ed870 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -572,6 +572,36 @@ and inspect the environment.")
(home-page "https://github.com/e2/nenv")
(license license:expat)))
+(define-public ruby-shellany
+ (package
+ (name "ruby-shellany")
+ (version "0.0.1")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "shellany" version))
+ (sha256
+ (base32
+ "1ryyzrj1kxmnpdzhlv4ys3dnl2r5r3d2rs2jwzbnd1v96a8pl4hf"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:test-target "default"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-version-test
+ (lambda _
+ (substitute* "spec/shellany_spec.rb"
+ (("^RSpec") "require \"shellany\"\nRSpec"))
+ #t)))))
+ (native-inputs
+ `(("ruby-rspec" ,ruby-rspec)
+ ("ruby-nenv" ,ruby-nenv)
+ ("bundler" ,bundler)))
+ (synopsis "Capture command output")
+ (description "Shellany is a Ruby library providing functions to capture
+the output produced by running shell commands.")
+ (home-page "https://rubygems.org/gems/shellany")
+ (license license:expat)))
+
(define-public ruby-useragent
(package
(name "ruby-useragent")
urtès 2014-06-09Thank Carlos.Ludovic Courtès 2014-01-03Thank Niels.Ludovic Courtès 2013-12-30Thank Kete.Ludovic Courtès 2013-10-14Thank Jeffrin and David.Ludovic Courtès 2013-10-06Update 'AUTHORS'....Ludovic Courtès 2013-09-21Thank Cyrill.Ludovic Courtès 2013-09-12Thank Matthias and Yutaka.Ludovic Courtès 2013-08-24gnu: Add pspp....Andreas Enge 2013-08-24gnu: Add libextractor....Andreas Enge 2013-07-15Thank the translators.Ludovic Courtès 2013-07-04Import (guix hash) in build-aux/download.scm....Ludovic Courtès 2013-06-01Fix name of Alexandru.Ludovic Courtès 2013-05-30Thanks, Cojocaru.Ludovic Courtès 2013-02-05Thank Lluís and Daniel.Ludovic Courtès 2013-01-27Update `AUTHORS' and `THANKS'.Ludovic Courtès 2013-01-23Update `THANKS'.Ludovic Courtès 2013-01-20Update `THANKS'.Ludovic Courtès 2013-01-18Move Andreas to `AUTHORS'.Ludovic Courtès 2012-12-09Update `THANKS'.Ludovic Courtès