Subject: [bug#59685] [PATCH] gnu: Add guile-jtd.

From: jgart <[email-masked]>
Date: Tue, 29 Nov 2022 11:34:10 -0600

* gnu/packages/guile-xyz.scm (guile-jtd): New variable.
---
 gnu/packages/guile-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index b1620618eb..1a5fb4c319 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -45,6 +45,7 @@
 ;;; Copyright © 2022 Taiju HIGASHI <[email-masked]>
 ;;; Copyright © 2022 Zheng Junjie <[email-masked]>
 ;;; Copyright © 2022 Evgeny Pisemsky <[email-masked]>
+;;; Copyright © 2022 jgart <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3546,6 +3547,29 @@ (define-public guile-jpeg
 perform geometrical transforms on JPEG images.")
       (license license:gpl3+))))
 
+(define-public guile-jtd
+  (package
+    (name "guile-jtd")
+    (version "220323")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/mwette/guile-jtd")
+             (commit (string-append "v" version "a"))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1l8fyqhvksarvpbr903i3ss3432jzvyvhgcqa15j922ngqh4ds6f"))))
+    (build-system guile-build-system)
+    (native-inputs
+     (list guile-3.0))
+    (home-page "https://github.com/mwette/guile-jtd")
+    (synopsis "Python's pdb.set_trace() but for Guile")
+    (description
+"The (jtd) module for Guile provides a procedure @code{jump-to-debugger}
+for escaping to the Guile REPL for the purpose of debugging code.")
+    (license license:lgpl2.1+)))
+
 (define-public guile-png
   (package
     (name "guile-png")
-- 
2.38.1