gnu: Add Exception-Class.

* gnu/packages/perl.scm (perl-exception-class): New variable.
This commit is contained in:
Eric Bavier 2015-03-05 16:44:58 -06:00
parent bc4899e3d9
commit 3a8ee9d163

View file

@ -581,6 +581,28 @@ (define-public perl-eval-closure
errors are rethrown automatically.") errors are rethrown automatically.")
(license (package-license perl)))) (license (package-license perl))))
(define-public perl-exception-class
(package
(name "perl-exception-class")
(version "1.39")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/"
"Exception-Class-" version ".tar.gz"))
(sha256
(base32
"10r06v6568s33p6h9f9ml0iabc07id86mjkf74gy7ld6d5m7b741"))))
(build-system perl-build-system)
(propagated-inputs
`(("perl-devel-stacktrace" ,perl-devel-stacktrace)
("perl-class-data-inheritable" ,perl-class-data-inheritable)))
(home-page "http://search.cpan.org/dist/Exception-Class")
(synopsis "Allows you to declare real exception classes in Perl")
(description "Exception::Class allows you to declare exception hierarchies
in your modules in a \"Java-esque\" manner.")
(license (package-license perl))))
(define-public perl-exporter-lite (define-public perl-exporter-lite
(package (package
(name "perl-exporter-lite") (name "perl-exporter-lite")