[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/15: gnu: Add perl-critic.
From: |
guix-commits |
Subject: |
14/15: gnu: Add perl-critic. |
Date: |
Tue, 18 Oct 2022 06:14:57 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit b857d239e7975b6b474674a06e663abec610d59e
Author: EuAndreh <eu@euandre.org>
AuthorDate: Mon Oct 17 22:38:18 2022 -0300
gnu: Add perl-critic.
* gnu/packages/perl.scm (perl-critic): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/perl.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index c07f9276fb..b6c33b2a36 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2262,6 +2262,51 @@ CPAN::Meta object are present.")
versa.")
(license (package-license perl))))
+(define-public perl-critic
+ (package
+ (name "perl-critic")
+ (version "1.140")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/P/PE/PETDANCE/Perl-Critic-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1nzxpn71mrpp85yxrxlraj52q2skvf9ja887ls11d57h6smg1vmz"))))
+ (build-system perl-build-system)
+ (native-inputs (list perl-module-build perl-test-deep))
+ (propagated-inputs (list perltidy
+ perl-exception-class
+ perl-io-string
+ perl-ppi
+ perl-ppix-regexp
+ perl-b-keywords
+ perl-config-tiny
+ perl-padwalker
+ perl-test-memory-cycle
+ perl-file-which
+ perl-list-moreutils
+ perl-module-pluggable
+ perl-pod-parser
+ perl-pod-spell
+ perl-ppix-quotelike
+ perl-ppix-utilities
+ perl-readonly
+ perl-string-format
+ perl-task-weaken))
+ (home-page "https://metacpan.org/release/Perl-Critic")
+ (synopsis "Critique Perl source code for best-practices")
+ (description
+ "@code{perlcritic} is a Perl source code analyzer. It is the
+executable front-end to the @code{Perl::Critic} engine, which attempts to
+identify awkward, hard to read, error-prone, or unconventional constructs in
+your code. Most of the rules are based on Damian Conway's book \"Perl Best
+Practices\". However, @code{perlcritic} is not limited to enforcing PBP, and
it
+will even support rules that contradict Conway. All rules can easily be
+configured or disabled to your liking.")
+ (license license:perl-license)))
+
(define-public perl-crypt-cbc
(package
(name "perl-crypt-cbc")
- branch master updated (054ddcbbc6 -> 0289312bc9), guix-commits, 2022/10/18
- 12/15: gnu: Add perl-ppix-quotelike., guix-commits, 2022/10/18
- 15/15: gnu: guix-build-coordinator: Update to 0-65.26fe4a7., guix-commits, 2022/10/18
- 14/15: gnu: Add perl-critic.,
guix-commits <=
- 10/15: gnu: Add perl-string-format., guix-commits, 2022/10/18
- 05/15: gnu: Add perl-commonmark., guix-commits, 2022/10/18
- 11/15: gnu: Add perl-ppix-regexp., guix-commits, 2022/10/18
- 04/15: gnu: Add skk-jisyo., guix-commits, 2022/10/18
- 06/15: gnu: Add perl-regexp-grammars., guix-commits, 2022/10/18
- 07/15: gnu: Add perl-config-tiny., guix-commits, 2022/10/18
- 01/15: gnu: textpieces: Reorder dependencies and fix description., guix-commits, 2022/10/18
- 02/15: services: nginx: Use nginx-action over inline gexp., guix-commits, 2022/10/18
- 08/15: gnu: Add perl-pod-spell., guix-commits, 2022/10/18
- 13/15: gnu: Add perl-ppix-utilities., guix-commits, 2022/10/18