gnu: Add go-1.18.

* gnu/packages/golang (go-1.18,go-std-1.18): New variables.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Hilton Chain 2022-09-25 08:02:37 +08:00 committed by Efraim Flashner
parent 2ac5da4b5a
commit f44ba4a1ad
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -841,6 +841,22 @@ (define-public go-1.17
(alist-replace "go" (list go-1.16) (package-native-inputs go-1.16))
(package-native-inputs go-1.16)))))
(define-public go-1.18
(package
(inherit go-1.17)
(name "go")
(version "1.18.6")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/golang/go")
(commit (string-append "go" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1s2xwgd3mfbjdf7ls9gyj7n1lbqc4276qkr3znyq9694isj1ak20"))))))
(define-public go go-1.17)
(define make-go-std
@ -880,6 +896,7 @@ (define make-go-std
(define-public go-std-1.14 (make-go-std go-1.14))
(define-public go-std-1.16 (make-go-std go-1.16))
(define-public go-std-1.17 (make-go-std go-1.17))
(define-public go-std-1.18 (make-go-std go-1.18))
(define-public go-0xacab-org-leap-shapeshifter
(let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474")