about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac2026-01-20 23:12:32 +0000
committerArun Isaac2026-01-20 23:33:15 +0000
commit525b823ac0fe437f24cae1f7a499b5865ec14839 (patch)
treea678dd763a33a68709b9ac675a734ce70d86146e
parent942b2c76cfc12d877d6a9a5d06ae13abb0ab475b (diff)
downloadguix-bioinformatics-525b823ac0fe437f24cae1f7a499b5865ec14839.tar.gz
gn: Add python-traceback2.
python-traceback2 was removed from Guix upstream.
-rw-r--r--gn/packages/check.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gn/packages/check.scm b/gn/packages/check.scm
index b3964fb..8216f15 100644
--- a/gn/packages/check.scm
+++ b/gn/packages/check.scm
@@ -32,6 +32,34 @@ It will honor all the options you pass to the Nose coverage plugin,
 especially -cover-package.")
     (license license:expat)))
 
+(define-public python-traceback2
+  (package
+    (name "python-traceback2")
+    (version "1.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "traceback2" version))
+       (sha256
+        (base32
+         "0c1h3jas1jp1fdbn9z2mrgn3jj0hw1x3yhnkxp7jw34q15xcdb05"))))
+    (build-system python-build-system)
+    (arguments
+     `(;; python-traceback2 and python-unittest2 depend on one another.
+       #:tests? #f))
+    (native-inputs
+     (list python-pbr))
+    (propagated-inputs
+     (list python-linecache2 python-six))
+    (home-page
+     "https://github.com/testing-cabal/traceback2")
+    (synopsis "Backports of the traceback module")
+    (description
+     "This module provides a standard interface to extract, format and print
+stack traces of Python programs.  It exactly mimics the behavior of the Python
+interpreter when it prints a stack trace.")
+    (license license:psfl)))
+
 (define-public python-unittest2
   (package
     (name "python-unittest2")