From 5bfab17a2bd4dd75a2e833d095a75a28a1fa961f Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Tue, 10 Mar 2015 17:19:47 -0500 Subject: [PATCH] gnu: Add Devel-StackTrace-AsHTML. * gnu/packages/perl.scm (perl-devel-stacktrace-ashtml): New variable. --- gnu/packages/perl.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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")