summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-05 16:23:35 -0600
committerEric Bavier <bavier@member.fsf.org>2015-03-06 08:13:28 -0600
commitbf1975c7746dd04c0a1995181fd37bd0650dd3d4 (patch)
tree6d23f314df38265ac7738450e16578837f57da0f /gnu
parent5d2935e3fc50b98e3396722af55158f4016bc0a6 (diff)
downloadguix-bf1975c7746dd04c0a1995181fd37bd0650dd3d4.tar.gz
gnu: Add Test-Warn.
* gnu/packages/perl.scm (perl-test-warn): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index d4d652bd1a..3bc7a90bc1 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1277,6 +1277,27 @@ a minimum of effort.")
     ;; "Under the same license as Perl itself"
     (license (package-license perl))))
 
+(define-public perl-test-warn
+  (package
+    (name "perl-test-warn")
+    (version "0.30")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/C/CH/CHORNY/"
+                           "Test-Warn-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0haf2ii7br5z0psmkvlvmx2z2q9qz1c70gx0969r378qjidmb5w1"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-sub-uplevel" ,perl-sub-uplevel)))
+    (home-page "http://search.cpan.org/dist/Test-Warn")
+    (synopsis "Perl extension to test methods for warnings")
+    (description "This module provides a few convenience methods for testing
+warning based code.")
+    (license (package-license perl))))
+
 (define-public perl-test-warnings
   (package
     (name "perl-test-warnings")