diff options
author | Antero Mejr <[email protected]> | 2023-06-04 17:42:10 +0000 |
---|---|---|
committer | Danny Milosavljevic <[email protected]> | 2024-12-22 13:13:17 +0100 |
commit | 376f64c11619b50bd70d6307bb9344073639179f (patch) | |
tree | 3315a636c3a5fc53a2c1e92e09921fea8639fec5 | |
parent | f7f26611bfa0c30b35c3feba86961c8c5e81583b (diff) |
gnu: Add perl-critic-policy-perlsecret.
* gnu/packages/perl.scm (perl-critic-policy-perlsecret): New variable.
Signed-off-by: Danny Milosavljevic <[email protected]>
-rw-r--r-- | gnu/packages/perl.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 38888b63e5..3574cbd38e 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -2425,6 +2425,32 @@ 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-critic-policy-perlsecret + (package + (name "perl-critic-policy-perlsecret") + (version "0.0.11") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/L/LA/LANCEW/Perl-Critic-Policy-Perlsecret-" + version ".tar.gz")) + (sha256 + (base32 + "0gmagglqq6vxprk9a5c42w8nhj621fplvzvc2wnb7jaky57r2rl8")))) + (build-system perl-build-system) + (native-inputs (list perl-critic + perl-test-failwarnings + perl-test-fatal)) + (propagated-inputs (list perl-critic)) + (home-page "https://metacpan.org/release/Perl-Critic-Policy-Perlsecret") + (synopsis "Prevent perlsecrets entering your codebase") + (description + "This policy checks for perlsecret operators in your code and warns you +about them. You can override the secrets that are allowed or disallowed using +the parameters @code{allow_secrets} and @code{disallow_secrets}. The default +is to simply disallow everything.") + (license license:gpl3))) + (define-public perl-crypt-cbc (package (name "perl-crypt-cbc") |