Patchwork [v5,09/17] gnu: Add perl-test-trailingspace.

login
register
mail settings
Submitter Danny Milosavljevic
Date July 28, 2016, 9:38 p.m.
Message ID <20160728213833.22057-10-dannym@scratchpost.org>
Download mbox | patch
Permalink /patch/14122/
State New
Headers show

Comments

Danny Milosavljevic - July 28, 2016, 9:38 p.m.
gnu: Add perl-test-trailingspace.

* gnu/packages/perl.scm (perl-test-trailingspace): New variable.
---
 gnu/packages/perl.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Patch

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 5a867e0..944dbf8 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -6689,3 +6689,38 @@  File::Find replacement in 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)))
+