guix-commits
[Top][All Lists]
Advanced

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

28/36: gnu: Add ruby-rubocop-performance.


From: guix-commits
Subject: 28/36: gnu: Add ruby-rubocop-performance.
Date: Fri, 17 Jul 2020 23:24:46 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 668617923b63375e9dc093909d67a3a11df5732a
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Jul 14 00:17:41 2020 -0400

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 8b87449..5666e0c 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1440,6 +1440,28 @@ Grammar (PEG) parser generator Domain Specific Language 
(DSL).")
     (home-page "https://github.com/cjheath/treetop";)
     (license license:expat)))
 
+(define-public ruby-rubocop-performance
+  (package
+    (name "ruby-rubocop-performance")
+    (version "1.7.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "rubocop-performance" version))
+       (sha256
+        (base32
+         "04r8d4x62ygv17spvz9yyfxbmbf8qxwhijs0xycfvzr0q4pyg9sw"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:tests? #f))                    ;no test suite in the distributed gem
+    (propagated-inputs
+     `(("ruby-rubocop" ,ruby-rubocop)))
+    (synopsis "Performance optimizations checkers for Ruby code")
+    (description "This package provides a collection of RuboCop cops to check
+for performance optimizations in Ruby code.")
+    (home-page "https://docs.rubocop.org/rubocop-performance/";)
+    (license license:expat)))
+
 (define-public ruby-ast
   (package
     (name "ruby-ast")



reply via email to

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