* [bug#72140] [PATCH] gnu: Add emacs-flymake-perlcritic.
@ 2024-07-16 10:56 gemmaro
2024-07-21 14:46 ` bug#72140: " Nicolas Goaziou via Guix-patches via
0 siblings, 1 reply; 2+ messages in thread
From: gemmaro @ 2024-07-16 10:56 UTC (permalink / raw)
To: 72140; +Cc: gemmaro, Andrew Tropin, Katherine Cox-Buday,
Liliana Marie Prikler
* gnu/packages/emacs-xyz.scm (emacs-flymake-perlcritic): New variable.
Change-Id: I81d7bba4a5ac1816385cf3cce02b4f28c7b82b37
---
gnu/packages/emacs-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 99e1d4c65c..6e5992704d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2883,6 +2883,39 @@ (define-public emacs-flymake-guile
compile}.")
(license license:gpl3+)))
+(define-public emacs-flymake-perlcritic
+ (let ((revision "0")
+ (commit "c11fee87370d8bd889a6c00d4f689fd5f08f2922"))
+ (package
+ (name "emacs-flymake-perlcritic")
+ (version (git-version "1.0.3" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/flymake/emacs-flymake-perlcritic")
+ (commit commit)))
+ (sha256
+ (base32 "1n2682ly8pw8sjj7bix4qjjxc5x396m6sxbv0k6vs93z4i1gy2qm"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'set-command
+ (lambda* (#:key inputs #:allow-other-keys)
+ (emacs-substitute-variables "flymake-perlcritic.el"
+ ("flymake-perlcritic-command"
+ (search-input-file
+ inputs
+ "/bin/perlcritic"))))))))
+ (inputs (list perl-critic))
+ (home-page "https://github.com/flymake/emacs-flymake-perlcritic")
+ (synopsis "Flymake handler for perlcritic")
+ (description
+ "@samp{flymake-perlcritic.el} adds support to Flymake for running
+@samp{perlcritic} to perform static analysis of Perl code.")
+ (license license:gpl3+))))
+
(define-public emacs-flymake-popon
(package
(name "emacs-flymake-popon")
base-commit: 3c58b759a51072aabd7eaaca680674a0c2b36c23
--
2.45.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#72140: [PATCH] gnu: Add emacs-flymake-perlcritic.
2024-07-16 10:56 [bug#72140] [PATCH] gnu: Add emacs-flymake-perlcritic gemmaro
@ 2024-07-21 14:46 ` Nicolas Goaziou via Guix-patches via
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou via Guix-patches via @ 2024-07-21 14:46 UTC (permalink / raw)
To: gemmaro
Cc: 72140-done, Katherine Cox-Buday, Liliana Marie Prikler,
Andrew Tropin
Hello,
gemmaro <gemmaro.dev@gmail.com> writes:
> * gnu/packages/emacs-xyz.scm (emacs-flymake-perlcritic): New variable.
Applied. Thank you!
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-21 14:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-16 10:56 [bug#72140] [PATCH] gnu: Add emacs-flymake-perlcritic gemmaro
2024-07-21 14:46 ` bug#72140: " Nicolas Goaziou via Guix-patches via
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.