unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#58052] [PATCH 0/2] gnu: Add go-1.18 and go-1.19.
@ 2022-09-25  0:01 Hilton Chain via Guix-patches via
  2022-09-25  0:02 ` [bug#58052] [PATCH 1/2] gnu: Add go-1.18 Hilton Chain via Guix-patches via
  2022-10-02 18:13 ` bug#58052: [PATCH 0/2] gnu: Add go-1.18 and go-1.19 Efraim Flashner
  0 siblings, 2 replies; 4+ messages in thread
From: Hilton Chain via Guix-patches via @ 2022-09-25  0:01 UTC (permalink / raw)
  To: 58052


Hilton Chain (2):
  gnu: Add go-1.18.
  gnu: Add go-1.19.

 gnu/packages/golang.scm | 45 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)


base-commit: b79bdbe2ec12de3058720866290201f3cbf72092
-- 
2.37.3





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#58052] [PATCH 1/2] gnu: Add go-1.18.
  2022-09-25  0:01 [bug#58052] [PATCH 0/2] gnu: Add go-1.18 and go-1.19 Hilton Chain via Guix-patches via
@ 2022-09-25  0:02 ` Hilton Chain via Guix-patches via
  2022-09-25  0:03   ` [bug#58052] [PATCH 2/2] gnu: Add go-1.19 Hilton Chain via Guix-patches via
  2022-10-02 18:13 ` bug#58052: [PATCH 0/2] gnu: Add go-1.18 and go-1.19 Efraim Flashner
  1 sibling, 1 reply; 4+ messages in thread
From: Hilton Chain via Guix-patches via @ 2022-09-25  0:02 UTC (permalink / raw)
  To: 58052

* gnu/packages/golang (go-1.18,go-std-1.18): New variables.
---
 gnu/packages/golang.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

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 @@ (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")
-- 
2.37.3





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#58052] [PATCH 2/2] gnu: Add go-1.19.
  2022-09-25  0:02 ` [bug#58052] [PATCH 1/2] gnu: Add go-1.18 Hilton Chain via Guix-patches via
@ 2022-09-25  0:03   ` Hilton Chain via Guix-patches via
  0 siblings, 0 replies; 4+ messages in thread
From: Hilton Chain via Guix-patches via @ 2022-09-25  0:03 UTC (permalink / raw)
  To: 58052

* gnu/packages/golang (go-1.19,go-std-1.19): New variables.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 698b4600ae..4a4c706509 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -857,6 +857,33 @@ (define-public go-1.18
         (base32
          "1s2xwgd3mfbjdf7ls9gyj7n1lbqc4276qkr3znyq9694isj1ak20"))))))
 
+(define-public go-1.19
+  (package
+    (inherit go-1.18)
+    (name "go")
+    (version "1.19.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
+         "1gah4zhbkgbwrrryfmzdv2qwi1rgxk10q2r3hnlcb1dybf9c1i1w"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments go-1.18)
+       ((#:phases phases)
+        #~(modify-phases #$phases
+            (replace 'install-doc-files
+              (lambda _
+                (for-each (lambda (file)
+                            (install-file file (string-append
+                                                #$output "/share/doc/go")))
+                          '("CONTRIBUTING.md" "PATENTS" "README.md"
+                            "SECURITY.md"))))))))))
+
 (define-public go go-1.17)
 
 (define make-go-std
@@ -897,6 +924,7 @@ (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-std-1.19 (make-go-std go-1.19))
 
 (define-public go-0xacab-org-leap-shapeshifter
   (let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474")
-- 
2.37.3





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#58052: [PATCH 0/2] gnu: Add go-1.18 and go-1.19.
  2022-09-25  0:01 [bug#58052] [PATCH 0/2] gnu: Add go-1.18 and go-1.19 Hilton Chain via Guix-patches via
  2022-09-25  0:02 ` [bug#58052] [PATCH 1/2] gnu: Add go-1.18 Hilton Chain via Guix-patches via
@ 2022-10-02 18:13 ` Efraim Flashner
  1 sibling, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2022-10-02 18:13 UTC (permalink / raw)
  To: Hilton Chain; +Cc: 58052-done

[-- Attachment #1: Type: text/plain, Size: 238 bytes --]

Thanks. Patches pushed!

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-02 18:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-25  0:01 [bug#58052] [PATCH 0/2] gnu: Add go-1.18 and go-1.19 Hilton Chain via Guix-patches via
2022-09-25  0:02 ` [bug#58052] [PATCH 1/2] gnu: Add go-1.18 Hilton Chain via Guix-patches via
2022-09-25  0:03   ` [bug#58052] [PATCH 2/2] gnu: Add go-1.19 Hilton Chain via Guix-patches via
2022-10-02 18:13 ` bug#58052: [PATCH 0/2] gnu: Add go-1.18 and go-1.19 Efraim Flashner

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).