aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-01-27 12:55:48 +0000
committerChristopher Baines <mail@cbaines.net>2019-02-14 21:37:56 +0000
commite42e3bfa47343f69e8801717b9b13e6034e331ea (patch)
tree79aed157a3dc0bd06dcc5c550b0f638d5164ebf6 /gnu/packages/ruby.scm
parent3306f02a74c0c3cb57f39701a04de4878c7d3777 (diff)
downloadguix-e42e3bfa47343f69e8801717b9b13e6034e331ea.tar
guix-e42e3bfa47343f69e8801717b9b13e6034e331ea.tar.gz
gnu: Add ruby-powerpack.
Required for ruby-rubocop. * gnu/packages/ruby.scm (ruby-powerpack): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 906d9ffd54..d126f3bc41 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1530,6 +1530,32 @@ assertion messages for tests.")
(home-page "https://github.com/k-tsj/power_assert")
(license (list license:bsd-2 license:ruby))))
+(define-public ruby-powerpack
+ (package
+ (name "ruby-powerpack")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "powerpack" version))
+ (sha256
+ (base32
+ "1r51d67wd467rpdfl6x43y84vwm8f5ql9l9m85ak1s2sp3nc5hyv"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:test-target "spec"))
+ (native-inputs
+ `(("bundler" ,bundler)
+ ("ruby-rspec" ,ruby-rspec)
+ ("ruby-yard" ,ruby-yard)))
+ (synopsis "Useful extensions to core Ruby classes")
+ (description
+ "This package provides a few useful extensions to core Ruby classes,
+including @code{Array}, @code{Enumerable}, @code{Hash}, @code{Numeric}, and
+@code{String}.")
+ (home-page "https://github.com/bbatsov/powerpack")
+ (license license:expat)))
+
(define-public ruby-locale
(package
(name "ruby-locale")