gnu: Add ruby-rubocop-factory-bot.

* gnu/packages/ruby.scm (ruby-rubocop-factory-bot): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-02-16 01:34:25 +01:00 committed by Andreas Enge
parent 79e92e9c8f
commit 86e108fffd
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -2067,6 +2067,25 @@ code style checking of Capybara test files (RSpec, Cucumber, Minitest).")
ruby-simplecov ruby-simplecov
ruby-yard)))) 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. ;;; A minimal variant used to build ruby-rubocop itself.
(define ruby-rubocop-rake-minimal (define ruby-rubocop-rake-minimal
(package (package