all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Dashyan <mail@davie.li>
To: 45161@debbugs.gnu.org
Cc: David Dashyan <mail@davie.li>
Subject: [bug#45161] [PATCH] gnu: Add go-1.15
Date: Mon, 14 Dec 2020 00:34:16 +0300	[thread overview]
Message-ID: <20201213213416.30959-1-mail@davie.li> (raw)
In-Reply-To: <20201210151024.25316-1-mail@davie.li>

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3b42bf3c8f..a4e62d7d6b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -23,6 +23,7 @@
 ;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
 ;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
+;;; Copyright © 2020 David Dashyan <mail@davie.li>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -434,6 +435,29 @@ in the style of communicating sequential processes (@dfn{CSP}).")
        ,@(package-native-inputs go-1.4)))
     (supported-systems %supported-systems)))
 
+(define-public go-1.15
+  (package
+    (inherit go-1.14)
+    (name "go")
+    (version "1.15.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
+         "0pg811lfw1pdp0cba4jvsqbwjaqrqz6m7jspbc80r17snd7flk2z"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments go-1.14)
+       ((#:phases phases)
+        `(modify-phases ,phases
+           (add-after 'prebuild 'postprebuild
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (delete-file "cmd/go/testdata/script/ldflag.txt")))))))))
+
 (define-public go go-1.14)
 
 (define-public go-github-com-alsm-ioprogress

base-commit: 11c3744275de591b74f761d126667ab81b0efcee
-- 
2.29.2





      parent reply	other threads:[~2020-12-13 21:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-10 15:10 [bug#45161] [PATCH 0/1] Update go? David Dashyan
2020-12-10 15:17 ` [bug#45161] [PATCH 1/1] gnu: Update go David Dashyan
2020-12-10 17:43   ` Leo Famulari
2020-12-13 21:31     ` David Dashyan
2020-12-10 17:13 ` [bug#45161] [PATCH 0/1] Update go? Jack Hill
2020-12-10 17:37 ` Leo Famulari
2020-12-11  6:15   ` Jack Hill
2020-12-12 22:51     ` Jack Hill
2020-12-13 21:57     ` David Dashyan
2020-12-14 13:10       ` David Dashyan
2020-12-14 21:53       ` Jack Hill
2020-12-13 21:34 ` David Dashyan [this message]

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=20201213213416.30959-1-mail@davie.li \
    --to=mail@davie.li \
    --cc=45161@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.