Subject: [PATCH] gnu: golang: add go 1.23.0

From: [email-masked]
Date: Wed, 28 Aug 2024 15:05:37 -0400

From: Brennan Vincent <[email-masked]>

gnu/packages/golang.scm (new variable): go-1.23

Change-Id: I08ce59873bd7fa5ab41a557e5847b8540c053e79
---
 gnu/packages/golang.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 27cdec0594..05acde04d9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -985,6 +985,21 @@ (define-public go-1.22
                     (list go-1.21)
                     (package-native-inputs go-1.21)))))
 
+(define-public go-1.23
+  (package
+    (inherit go-1.22)
+    (name "go")
+    (version "1.23.0")
+    (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 "0yq7fmha7x6fiah68mpx7cvffsd8a7z569cfq2dj5s66pbgzmji9"))))))
+
 ;;
 ;; Default Golang version used in guix/build-system/go.scm to build packages.
 ;;
-- 
2.45.2