aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-01-27 16:43:52 +0000
committerChristopher Baines <mail@cbaines.net>2019-02-14 21:37:58 +0000
commit5d8fe6de26949ac0c732fb527e58dcd059fbdd60 (patch)
tree62fc7991e42ec4c7a638aae2e9b99ee7d92ad58d
parent433f10b5d2d7714440e92b7f563fb51dea7779f4 (diff)
downloadpatches-5d8fe6de26949ac0c732fb527e58dcd059fbdd60.tar
patches-5d8fe6de26949ac0c732fb527e58dcd059fbdd60.tar.gz
gnu: Add ruby-rubocop.
* gnu/packages/ruby.scm (ruby-rubocop): New variable.
-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 73147983ff..d27edeffb5 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4118,6 +4118,36 @@ inspired by the Sinatra microframework style of specifying actions:
(home-page "https://github.com/rest-client/rest-client")
(license license:expat)))
+(define-public ruby-rubocop
+ (package
+ (name "ruby-rubocop")
+ (version "0.64.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "rubocop" version))
+ (sha256
+ (base32
+ "07shi6kncwhkvlh9ci9rgccrjsq4448hbic3yrakh2w65ppynvbj"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(;; No included tests
+ #:tests? #f))
+ (propagated-inputs
+ `(("ruby-parser" ,ruby-parser)
+ ("ruby-powerpack" ,ruby-powerpack)
+ ("ruby-rainbow" ,ruby-rainbow)
+ ("ruby-progressbar" ,ruby-progressbar)
+ ("ruby-parallel" ,ruby-parallel)
+ ("ruby-jaro-winkler" ,ruby-jaro-winkler)
+ ("ruby-unicode-display-width" ,ruby-unicode-display-width)))
+ (synopsis "Ruby code style checking tool")
+ (description
+ "@code{rubocop} is a Ruby code style checking tool. It aims to enforce
+the community-driven Ruby Style Guide.")
+ (home-page "https://github.com/rubocop-hq/rubocop")
+ (license license:expat)))
+
(define-public ruby-contest
(package
(name "ruby-contest")