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

commit 1d08f076e9fdf9f7a61da92ce209af9b4c283c2c
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat May 2 21:52:12 2026 +0100

    gnu: go-github-com-modelcontextprotocol-go-sdk: Update to 1.6.0.
    
    * gnu/packages/golang-xyz.scm (go-github-com-modelcontextprotocol-go-sdk): 
Update to 1.6.0.
    [arguments] <test-flags>: Skip one test.
    [phases]{pre-check}: New hase.
    
    Change-Id: I44c1aa91d6778ee32305aa5f07d722749692d4c2
---
 gnu/packages/golang-xyz.scm | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index fd87a1ec38..36fceed399 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -20350,7 +20350,7 @@ terminal (state, sizes).")
 (define-public go-github-com-modelcontextprotocol-go-sdk
   (package
     (name "go-github-com-modelcontextprotocol-go-sdk")
-    (version "1.3.1")
+    (version "1.6.0")
     (source
      (origin
        (method git-fetch)
@@ -20359,18 +20359,30 @@ terminal (state, sizes).")
               (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1lpk2zc6km2d3aadgc9yr2dj8z0zky8vdj63iip1wg7aagl0cyx8"))))
+        (base32 "05r70yiwihzkszckmx3afg2gn6m6i8igcskj5bhr4fhi1vymbw6v"))))
     (build-system go-build-system)
     (arguments
      (list
       #:skip-build? #t
       #:import-path "github.com/modelcontextprotocol/go-sdk"
+      #:test-flags
+      #~(list "-skip"
+              (string-join
+               (list
+                ;; resource_meta_test.go:214:
+                ;; GetProtectedResourceMetadata(\
+                ;; 
"https://127.0.0.1:38027/.well-known/oauth-protected-resource";):
+                ;; bad status 404
+                "TestGetProtectedResourceMetadata/Success")))
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'remove-examples
             (lambda* (#:key import-path #:allow-other-keys)
               (delete-file-recursively
-               (string-append "src/" import-path "/examples")))))))
+               (string-append "src/" import-path "/examples"))))
+          (add-before 'check 'pre-check
+            (lambda _
+              (setenv "GODEBUG" "asynctimerchan=0"))))))
     (native-inputs
      (list go-github-com-google-go-cmp
            go-golang-org-x-tools))

Reply via email to