summary refs log tree commit diff
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2022-09-25 08:02:37 +0800
committerEfraim Flashner <efraim@flashner.co.il>2022-10-02 15:22:53 +0300
commitf44ba4a1ad9a1c16cb6a90faf690c6c9b0b919d6 (patch)
tree112bed64a7e66dad9f083a4910806eef391846e0
parent2ac5da4b5a82efad02e9a1b6db0440c3289a84f0 (diff)
downloadguix-f44ba4a1ad9a1c16cb6a90faf690c6c9b0b919d6.tar.gz
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>
-rw-r--r--gnu/packages/golang.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 29a11a4ec1..698b4600ae 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -841,6 +841,22 @@ in the style of communicating sequential processes (@dfn{CSP}).")
        (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 @@ in the style of communicating sequential processes (@dfn{CSP}).")
 (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")