sharlatan pushed a commit to branch go-team
in repository guix.

commit 5fa4f41a069ee0780d6f40ad8d6d8f9024cb0698
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Dec 29 20:36:57 2024 +0000

    gnu: go-github-com-maruel-panicparse: Update to 1.6.2.
    
    * gnu/packages/golang.scm (go-github-com-maruel-panicparse): Update to 
1.6.2.
    [propagated-inputs]: Add go-github-com-mattn-go-colorable, 
go-github-com-mattn-go-isatty,
    go-github-com-mgutz-ansi, and go-golang-org-x-sys.
    [native-inputs]: Add go-github-com-google-go-cmp.
    
    Change-Id: Iea1a0070bec1d13a2819b0798c118ad14e9cc304
---
 gnu/packages/golang.scm | 31 ++++++++++++++++++++++++++-----
 1 file changed, 26 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1e97d06af7..cd47a80996 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3887,19 +3887,40 @@ optionally preserving color.")
 (define-public go-github-com-maruel-panicparse
   (package
     (name "go-github-com-maruel-panicparse")
-    (version "1.3.0")
+    (version "1.6.2")
     (source (origin
               (method git-fetch)
               (uri (git-reference
-                     (url "https://github.com/maruel/panicparse";)
-                     (commit (string-append "v" version))))
+                    (url "https://github.com/maruel/panicparse";)
+                    (commit (string-append "v" version))))
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "13qkn7f64yln8jdmma37h6ra4c7anxkp3vfgvfyb6lb07dpr1ibq"))))
+                "07hj3z47v4mzppi8r7ja20arh2kd0dih913xgb9ylapf7w5q98bn"))))
     (build-system go-build-system)
     (arguments
-     '(#:import-path "github.com/maruel/panicparse"))
+     (list
+      #:import-path "github.com/maruel/panicparse"
+      #:test-flags
+      #~(list "-skip"
+              (string-join
+               ;; Failed with panic.
+               (list "TestAugment"
+                     "TestPanic"
+                     "TestPanicweb"
+                     "TestProcessTwoSnapshots"
+                     "TestSnapshotHandler"
+                     "TestSnapshotHandler_Err"
+                     "TestSnapshotHandler_LargeMemory"
+                     )
+               "|"))))
+    (native-inputs
+     (list go-github-com-google-go-cmp))
+    (propagated-inputs
+     (list go-github-com-mattn-go-colorable
+           go-github-com-mattn-go-isatty
+           go-github-com-mgutz-ansi
+           go-golang-org-x-sys))
     (synopsis "Toolkit for parsing Go stack traces")
     (description "This package provides a toolkit for parsing Go language panic
 stack traces.  It simplifies the traces to make salient information more 
visible

Reply via email to