guix_mirror_bot pushed a commit to branch ruby-team
in repository guix.

commit 2362eee15a3aeafb64045528a33dbafb66e9c3b6
Author: Nicolas Graves <ngra...@ngraves.fr>
AuthorDate: Sun Feb 16 01:34:25 2025 +0100

    gnu: Add ruby-rubocop-factory-bot.
    
    * gnu/packages/ruby.scm (ruby-rubocop-factory-bot): New variable.
    
    Signed-off-by: Sharlatan Hellseher <sharlata...@gmail.com>
---
 gnu/packages/ruby.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 059fe6531f..40057a7210 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2061,6 +2061,25 @@ code style checking of Capybara test files (RSpec, 
Cucumber, Minitest).")
            ruby-simplecov
            ruby-yard))))
 
+(define-public ruby-rubocop-factory-bot
+  (package
+    (name "ruby-rubocop-factory-bot")
+    (version "2.26.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "rubocop-factory_bot" version))
+       (sha256
+        (base32 "1aljadsjx7affcarzbhz7pydpy6fgqb8hl951y0cmrffxpa3rqcd"))))
+    (build-system ruby-build-system)
+    (arguments '(#:tests? #f))  ; No tests bundled.
+    (synopsis "Code style checking for factory_bot files")
+    (description
+     "This package provides a plugin for the @code{RuboCop} code style
+enforcing & linting tool for @code{factory_bot} files.")
+    (home-page "https://github.com/rubocop/rubocop-factory_bot";)
+    (license license:expat)))
+
 ;;; A minimal variant used to build ruby-rubocop itself.
 (define ruby-rubocop-rake-minimal
   (package

Reply via email to