GNU bug report logs - #72958
[PATCH] gnu: Add ruby-rubocop-itamae.

Previous Next

Package: guix-patches;

Reported by: gemmaro <gemmaro.dev <at> gmail.com>

Date: Mon, 2 Sep 2024 10:28:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 72958 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix <at> cbaines.net, guix-patches <at> gnu.org:
bug#72958; Package guix-patches. (Mon, 02 Sep 2024 10:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to gemmaro <gemmaro.dev <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix <at> cbaines.net, guix-patches <at> gnu.org. (Mon, 02 Sep 2024 10:28:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: gemmaro <gemmaro.dev <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: gemmaro <gemmaro.dev <at> gmail.com>
Subject: [PATCH] gnu: Add ruby-rubocop-itamae.
Date: Mon,  2 Sep 2024 19:07:17 +0900
* gnu/packages/ruby.scm (ruby-rubocop-itamae): New variable.

Change-Id: Ic5679a92c5e5faf420ed7f49acb7d9e28430bff4
---
 gnu/packages/ruby.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 5af1bb1cef..7b82ebd58e 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1996,6 +1996,35 @@ (define-public ruby-rubocop-capybara
            ruby-simplecov
            ruby-yard))))
 
+(define-public ruby-rubocop-itamae
+  (package
+    (name "ruby-rubocop-itamae")
+    (version "0.1.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sue445/rubocop-itamae")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1cynpafby3v6psg94whix2z9fhpdh669w9imm92zsjpbdgsxpmd7"))))
+    (build-system ruby-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (replace 'check
+                     (lambda* (#:key tests? #:allow-other-keys)
+                       (when tests?
+                         (invoke "rspec" "-Ilib" "-Ispec" "spec")))))))
+    (native-inputs (list ruby-rspec))
+    (propagated-inputs (list ruby-rubocop))
+    (synopsis "Code style checking for Itamae recipes")
+    (description "This RuboCop plugin is for checking the code style of Itamae
+configuration management system recipes.")
+    (home-page "https://github.com/sue445/rubocop-itamae")
+    (license license:expat)))
+
 ;;; A minimal variant used to build ruby-rubocop itself.
 (define ruby-rubocop-rake-minimal
   (package

base-commit: 3c21d0da62b3d6832dd1ab450d8ab50ab8d38f27
-- 
2.45.2





This bug report was last modified 287 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.