guix_mirror_bot pushed a commit to branch master
in repository guix.

commit a2261b7be9d56cfe52980f77557f9e550a64849e
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Fri Dec 5 19:26:38 2025 +0100

    gnu: Add go-github-com-ysmood-gotrace.
    
    * gnu/packages/golang-xyz.scm (go-github-com-ysmood-gotrace): New variable.
    
    Change-Id: Iafd3399ca7440a27f8daa4b5d58fb509a4a30223
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/golang-check.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index b77ef6efdc..960fe13734 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -2865,6 +2865,37 @@ gracefully enhance standard library testing package and 
behaviors of the
 @command{go test} command.")
     (license license:expat)))
 
+(define-public go-github-com-ysmood-gotrace
+  (package
+    (name "go-github-com-ysmood-gotrace")
+    (version "0.6.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ysmood/gotrace";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "06jzxbi27mknkx5kp5zramca16r9i423dhmlp17r4r75znhklgaz"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/ysmood/gotrace"
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'pre-check
+            (lambda _
+              ;; Tests require GODEBUG="tracebackancestors=N" environment
+              ;; setting.
+              (setenv "GODEBUG" "tracebackancestors=1000"))))))
+    (home-page "https://github.com/ysmood/gotrace";)
+    (synopsis "Go goroutine tracer")
+    (description
+     "Gotrace is a Go library for tracing goroutines, useful for debugging
+goroutine leaks and understanding goroutine lifecycles.")
+    (license license:expat)))
+
 (define-public go-github-com-zeebo-assert
   (package
     (name "go-github-com-zeebo-assert")

Reply via email to