aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-05 16:03:06 -0600
committerEric Bavier <bavier@member.fsf.org>2015-03-06 08:13:27 -0600
commit269ef086224e77a4ff9933a1d9ce26a0fcfbed59 (patch)
tree8ec939d78b28d710d67f446e33e7d8dc20a9ca10 /gnu/packages/perl.scm
parentb0c2ae50228988a482ebe14debc5d25621f454b2 (diff)
downloadguix-269ef086224e77a4ff9933a1d9ce26a0fcfbed59.tar
guix-269ef086224e77a4ff9933a1d9ce26a0fcfbed59.tar.gz
gnu: Add Test-CleanNamespaces.
* gnu/packages/perl.scm (perl-test-cleannamespaces): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 962536c5c4..5e4ac07317 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -805,6 +805,39 @@ clock speed.")
"Sys-CPU-" version))
(license (package-license perl))))
+(define-public perl-test-cleannamespaces
+ (package
+ (name "perl-test-cleannamespaces")
+ (version "0.16")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
+ "Test-CleanNamespaces-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ynrds515gcq954z34zm03rgcx0dskiaz7qj0k7k5gmrjj1kfycp"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-requires" ,perl-test-requires)
+ ("perl-test-deep" ,perl-test-deep)
+ ("perl-test-warnings" ,perl-test-warnings)
+ ("perl-test-tester" ,perl-test-tester)))
+ (propagated-inputs
+ `(("perl-namespace-clean" ,perl-namespace-clean)
+ ("perl-package-stash" ,perl-package-stash)
+ ("perl-sub-identify" ,perl-sub-identify)
+ ("perl-sub-exporter" ,perl-sub-exporter)
+ ("perl-file-find-rule" ,perl-file-find-rule)
+ ("perl-file-find-rule-perl" ,perl-file-find-rule-perl)))
+ (home-page "http://search.cpan.org/dist/Test-CleanNamespaces")
+ (synopsis "Check for uncleaned imports")
+ (description "This module lets you check your module's namespaces for
+imported functions you might have forgotten to remove with
+namespace::autoclean or namespace::clean and are therefore available to be
+called as methods, which usually isn't want you want.")
+ (license (package-license perl))))
+
(define-public perl-test-deep
(package
(name "perl-test-deep")