guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/72: gnu: Add Test-Fatal.


From: Eric Bavier
Subject: 10/72: gnu: Add Test-Fatal.
Date: Fri, 06 Mar 2015 14:12:51 +0000

bavier pushed a commit to branch master
in repository guix.

commit 07b2c25486a6fcac3499f56ebb38e02384e42ad1
Author: Eric Bavier <address@hidden>
Date:   Thu Mar 5 15:20:57 2015 -0600

    gnu: Add Test-Fatal.
    
    * gnu/packages/perl.scm (perl-test-fatal): New variable.
---
 gnu/packages/perl.scm |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 523dcdf..b98598d 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]