aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-10 17:19:47 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-11 15:48:06 -0500
commit5bfab17a2bd4dd75a2e833d095a75a28a1fa961f (patch)
tree74c2ad7684b284e81c03542dc7dd705a42e56196
parentc3c03bebd1e34ca2a40a46af08d0ae99e11bab15 (diff)
downloadguix-5bfab17a2bd4dd75a2e833d095a75a28a1fa961f.tar.gz
guix-5bfab17a2bd4dd75a2e833d095a75a28a1fa961f.zip
gnu: Add Devel-StackTrace-AsHTML.
* gnu/packages/perl.scm (perl-devel-stacktrace-ashtml): New variable.
-rw-r--r--gnu/packages/perl.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 94023782ba..2d97fe89ef 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -569,6 +569,30 @@ information that can be retrieved via Perl's caller() function, as well as
providing a simple interface to this data.")
(license artistic2.0)))
+(define-public perl-devel-stacktrace-ashtml
+ (package
+ (name "perl-devel-stacktrace-ashtml")
+ (version "0.14")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
+ "Devel-StackTrace-AsHTML-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0yl296y0qfwybwjgqjzd4j2w2bj5a2nz342qqgxchnf5bqynl1c9"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-devel-stacktrace" ,perl-devel-stacktrace)))
+ (home-page "http://search.cpan.org/dist/Devel-StackTrace-AsHTML")
+ (synopsis "Displays stack trace in HTML")
+ (description "Devel::StackTrace::AsHTML adds as_html method to
+Devel::StackTrace which displays the stack trace in beautiful HTML, with code
+snippet context and function parameters. If you call it on an instance of
+Devel::StackTrace::WithLexicals, you even get to see the lexical variables of
+each stack frame.")
+ (license (package-license perl))))
+
(define-public perl-digest-sha1
(package
(name "perl-digest-sha1")