unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: 34222@debbugs.gnu.org
Subject: [bug#34222] [PATCH 15/15] gnu: Add ruby-rubocop.
Date: Sun, 27 Jan 2019 17:08:20 +0000	[thread overview]
Message-ID: <20190127170820.28937-15-mail@cbaines.net> (raw)
In-Reply-To: <20190127170820.28937-1-mail@cbaines.net>

* gnu/packages/ruby.scm (ruby-rubocop): New variable.
---
 gnu/packages/ruby.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 9026251626..6f9ad43c53 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4083,6 +4083,36 @@ post, delete.")
     (home-page "https://github.com/rest-client/rest-client")
     (license license:expat)))
 
+(define-public ruby-rubocop
+  (package
+    (name "ruby-rubocop")
+    (version "0.63.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "rubocop" version))
+       (sha256
+        (base32
+         "1pq00qwlmcv52dbhgbk534ggwn1ny9k3sq3vfb1zk3r4psnqz2jy"))))
+    (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-ruby-progressbar" ,ruby-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")
-- 
2.20.1

  parent reply	other threads:[~2019-01-27 17:09 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-27 17:01 [bug#34222] [PATCH 00/15] Add ruby-rubocop and dependencies Christopher Baines
2019-01-27 17:08 ` [bug#34222] [PATCH 01/15] gnu: ruby-rspec-its: Enable tests Christopher Baines
2019-01-27 17:08   ` [bug#34222] [PATCH 02/15] gnu: Add ruby-powerpack Christopher Baines
2019-01-27 17:44     ` Ricardo Wurmus
2019-01-27 18:44       ` Christopher Baines
2019-01-27 17:08   ` [bug#34222] [PATCH 03/15] gnu: Add ruby-rainbow Christopher Baines
2019-01-27 17:25     ` Ricardo Wurmus
2019-01-27 17:08   ` [bug#34222] [PATCH 04/15] gnu: Add ruby-racc Christopher Baines
2019-01-27 17:27     ` Ricardo Wurmus
2019-01-27 18:57       ` Christopher Baines
2019-01-27 19:06         ` Christopher Baines
2019-01-27 19:26           ` Ricardo Wurmus
2019-01-27 17:08   ` [bug#34222] [PATCH 05/15] gnu: Add ruby-hashdiff Christopher Baines
2019-01-27 17:45     ` Ricardo Wurmus
2019-01-27 17:08   ` [bug#34222] [PATCH 06/15] gnu: Add ruby-crack Christopher Baines
2019-01-27 17:29     ` Ricardo Wurmus
2019-01-27 18:55       ` Christopher Baines
2019-01-27 17:08   ` [bug#34222] [PATCH 07/15] gnu: Add ruby-webmock Christopher Baines
2019-01-27 17:32     ` Ricardo Wurmus
2019-01-27 18:53       ` Christopher Baines
2019-01-27 17:08   ` [bug#34222] [PATCH 08/15] gnu: Add ruby-rest-client Christopher Baines
2019-01-27 17:34     ` Ricardo Wurmus
2019-01-27 18:51       ` Christopher Baines
2019-01-27 17:08   ` [bug#34222] [PATCH 09/15] gnu: Add ruby-bacon-colored-output Christopher Baines
2019-01-27 17:34     ` Ricardo Wurmus
2019-01-27 17:08   ` [bug#34222] [PATCH 10/15] gnu: Add ruby-ast Christopher Baines
2019-01-27 17:36     ` Ricardo Wurmus
2019-01-27 18:50       ` Christopher Baines
2019-01-27 17:08   ` [bug#34222] [PATCH 11/15] gnu: Add ruby-cliver Christopher Baines
2019-01-27 17:38     ` Ricardo Wurmus
2019-01-27 18:48       ` Christopher Baines
2019-01-27 17:08   ` [bug#34222] [PATCH 12/15] gnu: Add ruby-parser Christopher Baines
2019-01-27 17:39     ` Ricardo Wurmus
2019-01-27 17:08   ` [bug#34222] [PATCH 13/15] gnu: Add ruby-unicode-display-width Christopher Baines
2019-01-27 17:39     ` Ricardo Wurmus
2019-01-27 17:08   ` [bug#34222] [PATCH 14/15] gnu: Add ruby-jaro-winkler Christopher Baines
2019-01-27 17:40     ` Ricardo Wurmus
2019-01-27 18:45       ` Christopher Baines
2019-01-27 17:08   ` Christopher Baines [this message]
2019-01-27 17:41     ` [bug#34222] [PATCH 15/15] gnu: Add ruby-rubocop Ricardo Wurmus
2019-01-27 17:20   ` [bug#34222] [PATCH 01/15] gnu: ruby-rspec-its: Enable tests Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190127170820.28937-15-mail@cbaines.net \
    --to=mail@cbaines.net \
    --cc=34222@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).