aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-18 09:24:44 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-19 16:43:31 -0500
commit2c157e8b21c48249c8d79541eeae00cf5c7ad810 (patch)
tree3a392e150113c11aae5eaa7a3bb21c5ed35dd694 /gnu
parent92503917f70218df6d3d3553e4fa3b85eed1a832 (diff)
downloadguix-2c157e8b21c48249c8d79541eeae00cf5c7ad810.tar
guix-2c157e8b21c48249c8d79541eeae00cf5c7ad810.tar.gz
gnu: Add Error.
* gnu/packages/perl.scm (perl-error): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 8fc8ff66db..9ba5024420 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1141,6 +1141,26 @@ SHA-1 message digest algorithm for use by Perl programs.")
modules separately and deal with them after the module is done installing.")
(license (package-license perl))))
+(define-public perl-error
+ (package
+ (name "perl-error")
+ (version "0.17023")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/S/SH/SHLOMIF/"
+ "Error-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0dsxic78mxy30qvbbdzfyp501hbkwhnbmafqfxipr0yqfy8f2j5g"))))
+ (build-system perl-build-system)
+ (home-page "http://search.cpan.org/dist/Error")
+ (synopsis "OO-ish Error/Exception handling for Perl")
+ (description "The Error package provides two interfaces. Firstly Error
+provides a procedural interface to exception handling. Secondly Error is a
+base class for errors/exceptions that can either be thrown, for subsequent
+catch, or can simply be recorded.")
+ (license (package-license perl))))
+
(define-public perl-eval-closure
(package
(name "perl-eval-closure")