From 7ad2bd50f81348e18ac7d6eb084c9a9cb7827f72 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Thu, 28 Jul 2016 23:38:25 +0200 Subject: [PATCH] gnu: Add perl-test-trailingspace. * gnu/packages/perl.scm (perl-test-trailingspace): New variable. Signed-off-by: Leo Famulari --- gnu/packages/perl.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index a793282908..17a596f72c 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -6992,3 +6992,34 @@ (define-public perl-file-find-object-rule (description "File::Find::Object::Rule is an alternative Perl interface to File::Find::Object.") (license (package-license perl)))) + +(define-public perl-test-trailingspace + (package + (name "perl-test-trailingspace") + (version "0.0300") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/S/SH/SHLOMIF/Test-TrailingSpace-" + version + ".tar.gz")) + (sha256 + (base32 + "01slmrcjfq38mpdg3hlb7lnnbgsqbn26958y3hzx0zwrif40pigr")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build" ,perl-module-build) + ("perl-file-find-object" ,perl-file-find-object) + ("perl-class-xsaccessor" ,perl-class-xsaccessor))) + (inputs + `(("perl-file-find-object-rule" ,perl-file-find-object-rule) + ("perl-text-glob" ,perl-text-glob) + ("perl-number-compare" ,perl-number-compare))) + (home-page + "http://search.cpan.org/dist/Test-TrailingSpace") + (synopsis + "Test for trailing space in Perl source files") + (description "Test::TrailingSpace tests for trailing spaces +in Perl source files.") + (license x11)))