diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2018-02-05 11:56:10 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-03-18 22:16:02 +0000 |
commit | 125536a144e661fd0f79f5897526e42bd1be8321 (patch) | |
tree | d50fc9b8e6430a408ab047b1f501fdabcb82862c | |
parent | 4e2c79abaedd862ab817cb2811713ca941a622a1 (diff) | |
download | guix-125536a144e661fd0f79f5897526e42bd1be8321.tar guix-125536a144e661fd0f79f5897526e42bd1be8321.tar.gz |
gnu: Add ruby-rubocop.
-rw-r--r-- | gnu/packages/ruby.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index aa867c74a0..cfb2da361c 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -6887,3 +6887,35 @@ https://github.com/flavorjones/loofah-activerecord).") "RR is a test double framework that features a rich selection of double techniques and a terse syntax.") (home-page "https://rr.github.io/rr") (license license:expat))) + +(define-public ruby-rubocop +(package + (name "ruby-rubocop") + (version "0.41.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "rubocop" version)) + (sha256 + (base32 + "02adr908a9l8nhdfjz137i20w1dv8mbfiamy0m9z9q0fvslfdxly")))) + (build-system ruby-build-system) + (arguments + `(#:tests? #f)) ; test files not included + (propagated-inputs + `(("ruby-parser" ,ruby-parser) + ("ruby-powerpack" ,ruby-powerpack) + ("ruby-rainbow" ,ruby-rainbow) + ("ruby-ruby-progressbar" ,ruby-ruby-progressbar) + ("ruby-unicode-display-width" + ,ruby-unicode-display-width))) + (synopsis + " Automatic Ruby code style checking tool. + Aims to enforce the community-driven Ruby Style Guide. +") + (description + " Automatic Ruby code style checking tool. + Aims to enforce the community-driven Ruby Style Guide. +") + (home-page "http://github.com/bbatsov/rubocop") + (license license:expat))) |