diff options
author | EuAndreh <eu@euandre.org> | 2021-03-10 15:33:40 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-03-10 15:33:40 -0300 |
commit | 6b1eb39e9df187ef56f9cf6fbe48161af57da71a (patch) | |
tree | 783a23caaa10aebba650f1b51e91a8a9a1ffa4ba /src | |
parent | queue.scm: Add perl-tidy and perl-b-lint (diff) | |
download | package-repository-6b1eb39e9df187ef56f9cf6fbe48161af57da71a.tar.gz package-repository-6b1eb39e9df187ef56f9cf6fbe48161af57da71a.tar.xz |
queue.scm: Add WIP perl-critic package
Diffstat (limited to 'src')
-rw-r--r-- | src/xyz/euandreh/queue.scm | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/src/xyz/euandreh/queue.scm b/src/xyz/euandreh/queue.scm index be155d7..e32aa99 100644 --- a/src/xyz/euandreh/queue.scm +++ b/src/xyz/euandreh/queue.scm @@ -55,7 +55,40 @@ version of the -w option of perl. It is named after the program lint which carries out a similar process for C programs.") (license license:perl-license))) +(define-public perl-critic + (package + (name "perl-critic") + (version "1.138") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/Perl-Critic-" + version ".tar.gz")) + (sha256 + (base32 + "10pdi6bzgas131l5qmnmy9sbzsb484nmdhk9hdlz8kgj3vwr9l9a")))) + (build-system perl-build-system) + (inputs + `(("perl-b-keywords" ,perl-b-keywords) + ("perl-list-moreutils" ,perl-list-moreutils) + ("perl-exception-class" ,perl-exception-class) + ("perl-file-which" ,perl-file-which) + ("perl-io-string" ,perl-io-string) + ("perl-module-pluggable" ,perl-module-pluggable) + ("perl-ppi" ,perl-ppi) + ("perl-readonly" ,perl-readonly))) + (native-inputs + `(("perl-module-build" ,perl-module-build) + ("perl-test-deep" ,perl-test-deep))) + (home-page "http://perlcritic.com/") + (synopsis "Static analyzer for Perl best-practices") + (description "Perl::Critic is an extensible framework for creating +and applying coding standards to Perl source code. Essentially, it +is a static source code analysis engine.") + (license license:perl-license))) (list perl-tidy - perl-b-lint) + perl-b-lint + #; + perl-critic) |