aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorKei Kebreau <kkebreau@posteo.net>2018-06-15 21:10:19 -0400
committerKei Kebreau <kkebreau@posteo.net>2018-06-16 20:52:37 -0400
commit0943b0b534e9ef6b30fd1d805d46b52f53dbac6c (patch)
tree23bbe857030b2b90a76b8dc41f9c61d9da4a372f /gnu
parent32315df9c70587bbf5d2fd414c9dd2def7b7685a (diff)
downloadpatches-0943b0b534e9ef6b30fd1d805d46b52f53dbac6c.tar
patches-0943b0b534e9ef6b30fd1d805d46b52f53dbac6c.tar.gz
gnu: Add perl-test-perltidy.
* gnu/packages/perl-check.scm (perl-test-perltidy): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl-check.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/perl-check.scm b/gnu/packages/perl-check.scm
index 4cac6dcd9e..89a761f0a7 100644
--- a/gnu/packages/perl-check.scm
+++ b/gnu/packages/perl-check.scm
@@ -1165,6 +1165,32 @@ a minimum of effort.")
;; "Under the same license as Perl itself"
(license perl-license)))
+(define-public perl-test-perltidy
+ (package
+ (name "perl-test-perltidy")
+ (version "20130104")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/L/LA/LARRYL/Test-PerlTidy-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1j5rsb4km9rzcbd1ljavj8vm42bmilji40v2jj2k87l1ykrxj59z"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-file-finder" ,perl-file-finder)
+ ("perl-file-slurp" ,perl-file-slurp)
+ ("perltidy" ,perltidy)
+ ("perl-text-diff" ,perl-text-diff)))
+ (home-page "http://search.cpan.org/dist/Test-PerlTidy/")
+ (synopsis "Check that all your Perl files are tidy")
+ (description
+ "Using @code{Test::PerlTidy}, any file ending in .pl, .pm, .t or .PL will
+cause a test fail unless it is exactly as @code{perltidy} would like it to be.")
+ (license perl-license)))
+
(define-public perl-test-trap
(package
(name "perl-test-trap")