[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#31854] [PATCH 6/8] gnu: Add perl-test-perltidy.
From: |
Kei Kebreau |
Subject: |
[bug#31854] [PATCH 6/8] gnu: Add perl-test-perltidy. |
Date: |
Fri, 15 Jun 2018 22:26:52 -0400 |
* gnu/packages/perl-check.scm (perl-test-perltidy): New variable.
---
gnu/packages/perl-check.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/perl-check.scm b/gnu/packages/perl-check.scm
index c70357de5..42875ac50 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")
--
2.17.1
- [bug#31854] [PATCH 1/8] gnu: Add perl-x11-protocol-other., Kei Kebreau, 2018/06/15
- [bug#31854] [PATCH 2/8] gnu: Add perl-cpan-changes., Kei Kebreau, 2018/06/15
- [bug#31854] [PATCH 3/8] gnu: Add perl-module-manifest., Kei Kebreau, 2018/06/15
- [bug#31854] [PATCH 7/8] gnu: perltidy: Update to 20180220., Kei Kebreau, 2018/06/15
- [bug#31854] [PATCH 5/8] gnu: Add perl-file-finder., Kei Kebreau, 2018/06/15
- [bug#31854] [PATCH 4/8] gnu: Add perl-test-distmanifest., Kei Kebreau, 2018/06/15
- [bug#31854] [PATCH 6/8] gnu: Add perl-test-perltidy.,
Kei Kebreau <=
- [bug#31854] [PATCH 8/8] gnu: clusterssh: Update to 4.13.2., Kei Kebreau, 2018/06/15
- [bug#31854] [PATCH 1/8] gnu: Add perl-x11-protocol-other., Ludovic Courtès, 2018/06/16