gnu: gopls: Update to 0.16.2.

* gnu/packages/golang.scm (gopls): Update to 0.16.2.
[native-inputs]: Remove go-github-com-jba-printsrc, go-github-com-sergi-go-diff,
go-golang-org-x-sys, and go-golang-org-x-tools; add
go-golang-org-x-telemetry.

Change-Id: Ia21d8816796d424c6dc83441469385eaa24f6031
This commit is contained in:
Sharlatan Hellseher 2024-09-13 10:33:36 +01:00
parent 3da934f279
commit a59917ea8f
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3112,16 +3112,16 @@ (define-public gopls
(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.13.2")
(version "0.16.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://go.googlesource.com/tools")
(commit (string-append "gopls/v" version))))
(commit (go-version->git-ref version #:subdir "gopls"))))
(file-name (git-file-name name version))
(sha256
(base32 "1qym2c0xvv6vcgwh0kz8sw094r88lzrl08xpvmg08lrqi00ma6kx"))))
(base32 "1l6mkh4v0f602spw3zdmkxqizk32zvgpfy461sinqwhlag8v8v3a"))))
(build-system go-build-system)
(arguments
(list
@ -3132,17 +3132,16 @@ (define-public gopls
#~(modify-phases %standard-phases
(add-before 'unpack 'override-tools
(lambda _
;; XXX: Write a procedure deleting all but current module source
;; to cover case with monorepo.
(delete-file-recursively "src/golang.org/x/tools"))))))
(native-inputs
(list go-github-com-google-go-cmp
go-github-com-jba-printsrc
go-github-com-jba-templatecheck
go-github-com-sergi-go-diff
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
go-golang-org-x-vuln
go-gopkg-in-yaml-v3
go-honnef-co-go-tools