diff options
author | gemmaro <gemmaro.dev@gmail.com> | 2024-07-16 19:56:25 +0900 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2024-07-21 15:57:05 +0200 |
commit | 738e923f6c56f843b191107856c0804adafd2932 (patch) | |
tree | 5c6a73db0132d97085203387ba7890217523f306 | |
parent | a7aa7a880a0c0aa6524e1f1b672b0607d090a848 (diff) | |
download | guix-738e923f6c56f843b191107856c0804adafd2932.tar.gz guix-738e923f6c56f843b191107856c0804adafd2932.zip |
gnu: Add emacs-flymake-perlcritic.
* gnu/packages/emacs-xyz.scm (emacs-flymake-perlcritic): New variable.
Change-Id: I81d7bba4a5ac1816385cf3cce02b4f28c7b82b37
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index db80788414..56a20e2e6e 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -2951,6 +2951,38 @@ modes.") compile}.") (license license:gpl3+))) +(define-public emacs-flymake-perlcritic + (let ((commit "c11fee87370d8bd889a6c00d4f689fd5f08f2922") + (revision "0")) + (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 + "Flymake Perlcritic adds support to Flymake for running Perl::Critic to +perform static analysis of Perl code.") + (license license:gpl3+)))) + (define-public emacs-flymake-popon (package (name "emacs-flymake-popon") |