guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 8b0bee2a971023747f2eb828c0537ab02a8b2c9a
Author: Ankit Gadiya <[email protected]>
AuthorDate: Tue May 26 01:01:31 2026 +0530

    gnu: gopls: Update to 0.22.0.
    
    * gnu/packages/golang-apps.scm (gopls): Update to 0.22.0.
    [arguments]: Use go-1.26.
    [native-inputs]: Remove go-golang-org-x-sys; add
    go-github-com-fsnotify-fsnotify, go-github.com-google-jsonschema-go,
    go-github-com-modelcontextprotocol-go-sdk.
    
    Merges: guix/guix!8825
    Change-Id: I28049d4faf92f54dc382abb64d2a2ff0570caccf
    Modified-by: Sharlatan Hellseher <[email protected]>
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/golang-apps.scm | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/golang-apps.scm b/gnu/packages/golang-apps.scm
index 5b87686dd8..c23f4de298 100644
--- a/gnu/packages/golang-apps.scm
+++ b/gnu/packages/golang-apps.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2025 Tomas Volf <[email protected]>
 ;;; Copyright © 2025 Sharlatan Hellseher <[email protected]>
 ;;; Copyright © 2025 jgart <[email protected]>
+;;; Copyright © 2026 Ankit Gadiya <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -276,19 +277,20 @@ import of a 3rd party package at runtime).")
     (name "gopls")
     ;; XXX: Starting from 0.14.0 gppls needs golang.org/x/telemetry, which
     ;; needs to be discussed if it may be included in Guix.
-    (version "0.19.1")
+    (version "0.22.0")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://go.googlesource.com/tools";)
-             (commit (go-version->git-ref version #:subdir "gopls"))))
+              (url "https://go.googlesource.com/tools";)
+              (commit (go-version->git-ref version #:subdir "gopls"))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1dihdw4nzp21hlbwxf6qyhyfgavi1a55lmlyk36czd85v0jcp6a0"))))
+        (base32 "0n5ixvk6c8hww5z9lvf74dx6p4j573bq3ssvp77n6033l0fcbv94"))))
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.26
       #:install-source? #f
       #:import-path "golang.org/x/tools/gopls"
       #:unpack-path "golang.org/x/tools"
@@ -311,11 +313,13 @@ import of a 3rd party package at runtime).")
               (setenv "GODEBUG" "gotypesalias=1"))))))
     (native-inputs
      (list go-github-com-fatih-gomodifytags
+           go-github-com-fsnotify-fsnotify
            go-github-com-google-go-cmp
+           go-github-com-google-jsonschema-go
            go-github-com-jba-templatecheck
+           go-github-com-modelcontextprotocol-go-sdk
            go-golang-org-x-mod
            go-golang-org-x-sync
-           go-golang-org-x-sys
            go-golang-org-x-telemetry
            go-golang-org-x-text
            go-golang-org-x-tools

Reply via email to