aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-05 15:20:57 -0600
committerEric Bavier <bavier@member.fsf.org>2015-03-06 08:13:26 -0600
commit07b2c25486a6fcac3499f56ebb38e02384e42ad1 (patch)
treeeea3413c286778f1b000ab4b8a8c452b7230f600 /gnu
parent90ae6151cf00075e288f9125543124ebbc1fe9de (diff)
downloadpatches-07b2c25486a6fcac3499f56ebb38e02384e42ad1.tar
patches-07b2c25486a6fcac3499f56ebb38e02384e42ad1.tar.gz
gnu: Add Test-Fatal.
* gnu/packages/perl.scm (perl-test-fatal): 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 523dcdfa9c..b98598d080 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -527,6 +527,27 @@ structures without getting caught in an infinite loop.")
"Test-Deep-" version))
(license gpl1+))) ; or "Artistic License"
+(define-public perl-test-fatal
+ (package
+ (name "perl-test-fatal")
+ (version "0.014")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
+ "Test-Fatal-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1c6bs68mss4q7cyapkv2c0jn66i21050p0faxf3s3417gdffzp5w"))))
+ (build-system perl-build-system)
+ (propagated-inputs `(("perl-try-tiny" ,perl-try-tiny)))
+ (home-page "http://search.cpan.org/dist/Test-Fatal")
+ (synopsis "Simple helpers for testing code with exceptions")
+ (description "Test::Fatal is an alternative to the popular
+Test::Exception. It does much less, but should allow greater flexibility in
+testing exception-throwing code with about the same amount of typing.")
+ (license (package-license perl))))
+
(define-public perl-test-nowarnings
(package
(name "perl-test-nowarnings")