summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-05 16:26:39 -0600
committerEric Bavier <bavier@member.fsf.org>2015-03-06 08:13:28 -0600
commit42350bbe77bf0ef106f241f07cd2f5e2768e4b2d (patch)
tree11c0ea1ba6b8684c430796aff68e5233a26ac0ab
parent81da66e239d057e3cb5aef1cdd41f9765c9f96f7 (diff)
downloadguix-42350bbe77bf0ef106f241f07cd2f5e2768e4b2d.tar.gz
gnu: Add Devel-StackTrace.
* gnu/packages/perl.scm (perl-devel-stacktrace): New variable.
-rw-r--r--gnu/packages/perl.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 55b130d359..7b78f76650 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -382,6 +382,27 @@ hierarchy the overloads are declared and where the code implementing it is.")
 arbitrary parameters.")
     (license (package-license perl))))
 
+(define-public perl-devel-stacktrace
+  (package
+    (name "perl-devel-stacktrace")
+    (version "2.00")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/"
+                           "Devel-StackTrace-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1r65iq5i11xh0r0kp3pdycydnd3kxpdmxnp0hq9hx9lr60kygsqx"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Devel-StackTrace")
+    (synopsis "Object representing a stack trace")
+    (description "The Devel::StackTrace module contains two classes,
+Devel::StackTrace and Devel::StackTrace::Frame.  These objects encapsulate the
+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-digest-sha1
   (package
     (name "perl-digest-sha1")