guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

27/66: gnu: Add ruby-rubocop.


From: guix-commits
Subject: 27/66: gnu: Add ruby-rubocop.
Date: Thu, 14 Feb 2019 16:38:35 -0500 (EST)

cbaines pushed a commit to branch master
in repository guix.

commit 5d8fe6de26949ac0c732fb527e58dcd059fbdd60
Author: Christopher Baines <address@hidden>
Date:   Sun Jan 27 16:43:52 2019 +0000

    gnu: Add ruby-rubocop.
    
    * 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 7314798..d27edef 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]