From patchwork Sat Mar 27 16:29:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?N=C3=A9fix_Estrada?= X-Patchwork-Id: 28140 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DE99A27BC5C; Sat, 27 Mar 2021 18:28:55 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CE9D727BC5D for ; Sat, 27 Mar 2021 18:28:53 +0000 (GMT) Received: from localhost ([::1]:41754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQDg5-0004lu-2S for patchwork@mira.cbaines.net; Sat, 27 Mar 2021 14:28:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQC8S-0001jd-Q6 for guix-patches@gnu.org; Sat, 27 Mar 2021 12:50:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33245) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQC8Q-0002Kh-Aw for guix-patches@gnu.org; Sat, 27 Mar 2021 12:50:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lQC8Q-0000x2-92 for guix-patches@gnu.org; Sat, 27 Mar 2021 12:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47434] [PATCH] Added Go 1.16.2 Resent-From: =?utf-8?b?TsOpZml4?= Estrada Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 27 Mar 2021 16:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47434 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47434@debbugs.gnu.org Cc: =?utf-8?b?TsOpZml4?= Estrada X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16168637843611 (code B ref -1); Sat, 27 Mar 2021 16:50:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Mar 2021 16:49:44 +0000 Received: from localhost ([127.0.0.1]:44785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQC88-0000wB-5R for submit@debbugs.gnu.org; Sat, 27 Mar 2021 12:49:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:53192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQBp6-0000RL-0V for submit@debbugs.gnu.org; Sat, 27 Mar 2021 12:30:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQBp5-0005wy-Nf for guix-patches@gnu.org; Sat, 27 Mar 2021 12:30:03 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:55151) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQBp3-0006ZN-RL for guix-patches@gnu.org; Sat, 27 Mar 2021 12:30:03 -0400 Received: by mail-wm1-x32d.google.com with SMTP id k128so4470385wmk.4 for ; Sat, 27 Mar 2021 09:30:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NJgRaxIEBBUU77Lj1ojHAAz9wkuH8WP7IQEcShqi3MM=; b=lGEJ8LCcgXiyUe3pK/9akcWudRZEve6r7ETq75O16QhN+7CbqB/X3c7RnHWrN6dJFb 2XjcmTO4jssU7gEUufhhm/U1XoKZpQUYAe+DPRlZWSFqjoT9sTiDKwn7o+DoaldYICF0 IM5uZPs4j9cghQyZhX12aHl2rnQtDqR4bC3qwMUOCesDeF8fsvIarZDF9kqP+M9gtjFo cARHKaq2lC2G1il7+SONTZ79fHVFirDOK/Pk29szhym8YtatPip2wg8D8b1UgnA63VIk raIxukUdJTk/nUEQ3WWH3nSm+Zid4YHPGf+SIFKFbU809qK91pdABqQQ5AssNJk3SNRK hVfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NJgRaxIEBBUU77Lj1ojHAAz9wkuH8WP7IQEcShqi3MM=; b=Py+aF9QxZRa1DhyMwMyJrSzrZruKuxP25ZfwXIMDn/huAyZeO6hE1gYTT3dtTTopue OgV37pqg6X23uJUVChc4EZKYbFZdRfc2un3XnUdv5+YvWs+69zR1nH665ETZt+oVOIYM gZnfkEAITmPDgJsIpcGf6Pl8bm0KYQdDxQd5sGfrS08aPSVMtgGkQ8s34miGntl7P+lM H808+5ibHUTXkXECh+ZNe68/DOycpaj1k4j1YUBVH7hSly8XBKATsuGWPp2VdLRYsSIY 1feI/y8iV+LbC/T+++4Bk5Y03YQSqM3Xbv2aSa+8Jdg9eTqsbTsqGNrWH5r0ZzgFgVZz cFWg== X-Gm-Message-State: AOAM530go3EoWr5mo9AQ9pSh++kL/vDQqNhF6Gw/82iNNTc8ad7Nl9Fg /GZ8UqP0xSMeejrxqZEjQw/SjBeJWEo= X-Google-Smtp-Source: ABdhPJzW1JfC81a2rtMJD80xjzaClmtmDkSxSuKVn23VjHrQKZ6MGDwUG/O51H4PYwII2KyT65zl9w== X-Received: by 2002:a05:600c:614:: with SMTP id o20mr17351226wmm.66.1616862599924; Sat, 27 Mar 2021 09:29:59 -0700 (PDT) Received: from localhost.localdomain ([213.195.111.200]) by smtp.googlemail.com with ESMTPSA id q207sm17819245wme.36.2021.03.27.09.29.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Mar 2021 09:29:59 -0700 (PDT) From: =?utf-8?b?TsOpZml4?= Estrada Date: Sat, 27 Mar 2021 17:29:53 +0100 Message-Id: <20210327162953.32278-1-nefixestrada@gmail.com> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=nefixestrada@gmail.com; helo=mail-wm1-x32d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 27 Mar 2021 12:49:42 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sat, 27 Mar 2021 14:28:47 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Signed-off-by: Néfix Estrada --- gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d9988cd7ad..df17955c93 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -25,6 +25,7 @@ ;;; Copyright © 2020 Martin Becze ;;; Copyright © 2021 Ricardo Wurmus ;;; Copyright © 2021 Guillaume Le Vaillant +;;; Copyright © 2021 Néfix Estrada ;;; ;;; This file is part of GNU Guix. ;;; @@ -440,6 +441,32 @@ in the style of communicating sequential processes (@dfn{CSP}).") ,@(package-native-inputs go-1.4))) (supported-systems %supported-systems))) +(define-public go-1.16 + (package + (inherit go-1.14) + (name "go") + (version "1.16.2") + (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 + "1cvw81hgb7akqp53lqbgpk303km8a7xs7lcr8c8z30hr5ql2kz90")))) + (arguments + (substitute-keyword-arguments (package-arguments go-1.14) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'prebuild 'prebuild-1-16 + (lambda* (#:key inputs #:allow-other-keys) + (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))) + (substitute* "cmd/go/testdata/script/link_syso_issue33139.txt" + (("\\[\\!cgo\\] skip") + "[!exec:cc] skip"))))))))))) + (define-public go go-1.14) (define-public go-github-com-alsm-ioprogress