mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-14 19:10:49 +02:00
gnu: packages/golang: Set default go version to 1.21.
Golang versions 1.17 (02 Aug 2022), 1.18 (01 Feb 2023), 1.19 (06 Sep 2023) and 1.20 (06 Feb 2024) are EOL <https://endoflife.date/go>. These changes set preferable default version to the minimal currently maintained one e.g. 1.21 * gnu/packages/golang.scm (go): Set default to go-1.21, add annotation for the future maintenance. Remove field <#:go> setting Golang version to go-1.18, go-1.19, 1.20 and 1.21: * gnu/packages/admin.scm * gnu/packages/configuration-management.scm * gnu/packages/databases.scm * gnu/packages/disk.scm * gnu/packages/education.scm * gnu/packages/file-systems.scm * gnu/packages/finance.scm * gnu/packages/golang-check.scm * gnu/packages/golang-crypto.scm * gnu/packages/golang-web.scm * gnu/packages/golang-xyz.scm * gnu/packages/golang.scm * gnu/packages/high-availability.scm * gnu/packages/ipfs.scm * gnu/packages/irc.scm * gnu/packages/messaging.scm * gnu/packages/networking.scm * gnu/packages/syncthing.scm * gnu/packages/textutils.scm * gnu/packages/time.scm * gnu/packages/version-control.scm * gnu/packages/video.scm Change-Id: Ieba6a5d7a18423f838d14c02ad55a2ba9c8559eb
This commit is contained in:
parent
1edca36f33
commit
8f70fb90a2
22 changed files with 26 additions and 139 deletions
|
@ -985,7 +985,10 @@ in the style of communicating sequential processes (@dfn{CSP}).")
|
|||
(list go-1.21)
|
||||
(package-native-inputs go-1.21)))))
|
||||
|
||||
(define-public go go-1.17)
|
||||
;;
|
||||
;; Default Golang version used in guix/build-system/go.scm to build packages.
|
||||
;;
|
||||
(define-public go go-1.21)
|
||||
|
||||
(define make-go-std
|
||||
(mlambdaq (go)
|
||||
|
@ -2227,7 +2230,6 @@ Go.")
|
|||
(arguments
|
||||
`(#:unpack-path "gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird"
|
||||
#:import-path "gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird/cmd/lyrebird"
|
||||
#:go ,go-1.20
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'substitutions
|
||||
|
@ -2880,7 +2882,6 @@ web framework
|
|||
"0zff0qpqfzwa4xazppiq7jvpncnmx52m23qi4ih754b7rzhbk0iz"))))
|
||||
(arguments
|
||||
(list
|
||||
#:go go-1.21
|
||||
#:import-path "github.com/go-playground/validator/v10"))
|
||||
(propagated-inputs
|
||||
(modify-inputs (package-propagated-inputs
|
||||
|
@ -3168,7 +3169,6 @@ command-line parsers.")
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
`(#:import-path "golang.org/x/vuln"
|
||||
#:go ,go-1.19
|
||||
#:install-source? #f
|
||||
#:phases ,#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'remove-go-mod-tidy
|
||||
|
@ -6277,8 +6277,7 @@ data serialization format.")
|
|||
"1xf18kzz96hgfy1vlbnydrizzpxkqj2iamfdbj3dx5a1zz5mi8n0"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list #:go go-1.21
|
||||
#:import-path "google.golang.org/protobuf"
|
||||
(list #:import-path "google.golang.org/protobuf"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; XXX: Workaround for go-build-system's lack of Go modules
|
||||
|
@ -8043,8 +8042,7 @@ Gemini clients and servers.")
|
|||
fixed-version))))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
`(#:import-path "mvdan.cc/gofumpt"
|
||||
#:go ,go-1.19))
|
||||
`(#:import-path "mvdan.cc/gofumpt"))
|
||||
(native-inputs (list go-gopkg-in-errgo-fmt-errors))
|
||||
(propagated-inputs (list go-github-com-pkg-diff
|
||||
go-github-com-kr-text
|
||||
|
@ -8093,8 +8091,7 @@ That is, @code{gofumpt} is happy with a subset of the formats that
|
|||
"0wynf0b32azxljncw5fh9bwkxpdflvf9q1z16wyj432566yjh12c"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
`(#:import-path "mvdan.cc/unparam"
|
||||
#:go ,go-1.19))
|
||||
`(#:import-path "mvdan.cc/unparam"))
|
||||
(inputs (list go-golang-org-x-sys go-golang-org-x-mod
|
||||
go-github-com-pkg-diff go-golang-org-x-tools
|
||||
go-github-com-rogpeppe-go-internal))
|
||||
|
@ -8479,7 +8476,6 @@ dependencies and a simple API.")
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list #:import-path "github.com/Arceliar/ironwood"
|
||||
#:go go-1.21
|
||||
#:tests? #f
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
|
@ -8888,8 +8884,7 @@ ordered, mutable data structure.")
|
|||
(base32 "0pdy8f7bkm65gx4vknwcvfa619hknflqxkdlvmf427k2mzm91gmh"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
`(#:import-path "github.com/peterbourgon/diskv"
|
||||
#:go ,go-1.18))
|
||||
`(#:import-path "github.com/peterbourgon/diskv"))
|
||||
(propagated-inputs (list go-github-com-google-btree))
|
||||
(home-page "https://github.com/peterbourgon/diskv")
|
||||
(synopsis "Disk-backed key-value store")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue