all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pier-Hugues Pellerin <ph@heykimo.com>
To: 55210@debbugs.gnu.org
Cc: Pier-Hugues Pellerin <ph@heykimo.com>
Subject: [bug#55210] [PATCH 1/3] gnu: Add go-1.18.
Date: Sun,  1 May 2022 14:57:47 -0400	[thread overview]
Message-ID: <20220501185747.26508-1-ph@heykimo.com> (raw)
In-Reply-To: <20220501185555.26169-1-ph@heykimo.com>

* gnu/packages/golang.scm (go-1.18): Update to Go 1.18.1
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 820e6b54ab..829db82ea2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -839,6 +839,31 @@ (define-public go-1.17
        (package-native-inputs go-1.16)))))
 
 (define-public go go-1.17)
+(define-public go-1.18
+  (package
+    (inherit go-1.17)
+    (name "go")
+    (version "1.18.1")
+    (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
+                "1ywx90w1jvmp6nif00kjn4ksn09a0wvfp2kww3gxk02s1wi23zw5"))))
+    (inputs (if (not (target-arm?))
+                (alist-delete "gcc:lib"
+                              (package-inputs go-1.17))
+                (package-inputs go-1.17)))
+    (native-inputs (if (not (member (%current-system)
+                                    (package-supported-systems go-1.4)))
+                       (alist-replace "go"
+                                      (list go-1.17)
+                                      (package-native-inputs go-1.17))
+                       (package-native-inputs go-1.17)))
+    (home-page "https://go.dev")))
 
 (define-public (make-go-std go)
   "Return a package which builds the standard library for Go compiler GO."
-- 
2.35.1





  reply	other threads:[~2022-05-01 18:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-01 18:55 [bug#55210] [PATCH 0/3] Add go-1.18.1 Pier-Hugues Pellerin
2022-05-01 18:57 ` Pier-Hugues Pellerin [this message]
2022-05-01 18:58 ` [bug#55210] [PATCH 2/3] gnu: Add go-next Pier-Hugues Pellerin
2022-05-01 18:58 ` [bug#55210] [PATCH 3/3] gnu: go: Update to go-1.18 Pier-Hugues Pellerin
2024-01-31 20:53 ` bug#55210: [PATCH 0/3] Add go-1.18.1 Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220501185747.26508-1-ph@heykimo.com \
    --to=ph@heykimo.com \
    --cc=55210@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.