From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sM4WBh5L0mUJRQAAe85BDQ:P1 (envelope-from ) for ; Sun, 18 Feb 2024 19:23:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id sM4WBh5L0mUJRQAAe85BDQ (envelope-from ) for ; Sun, 18 Feb 2024 19:23:26 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708280605; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=bh6GIIY6/wD15XIQM+dckF2U2nptW+tY5XYpZELV8AY=; b=FYm4JnczBHlp3wBhf5cpgGTCuHktt+1kkQU4oK2KDBos6/VrBNH4i9FfuFQz+a6eUsHrzH 9jH8JePn4JbI8k4xeESrD+2blMQD10zB2xZeCxgt++XBy9g9BTJeqclHZPArqr8GRh8ULM SAUwKqbolL7QjstWB0L3Wv50Np7L+9wrqmyjs46fCr0G6zcwqOJT7eX4fRWxrSIGmB7Zhh 7JDykpPJYTlAh/PAB4lhYW7BdpI7ZXGxcVb8hE62Bc+Wvdzc2NF4gwmYtGNBp/qPJ9HY/x 0BbDSbdds1b/o2Wm0lDQbSgWKvIml+jo/ZmogBvJANMkPjnRrgtXaTELMBWFoA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708280605; a=rsa-sha256; cv=none; b=TKVvP9XhbGhyDf54R7nc5kLijScRnoWIetlpVoMjOLAmy5cgPhZ7UEu+QQLPbKpWNA8bqc BItdUf/+DRwuFP1gElaDcfvDo10rTsCUCczRcQkNdzYrpfiA5TpobSQ6WvBeGxreSe9iF8 9GgppyUpKiTtu9Ofvqdjn2iT567gdwI5l7tb8wZqT19Rk5eyARiNitBZui+XISvIgxSN17 MAUdZjfAkif4eSf9uJWqBF4R/XmF/TvO9FkDgk0tqk/eoWlMwg9+YepKI/3ugGTxjESWZV Vi0iqeNOZmEuX/ocpHImH55Kf2rWMyPJHvXSmFg3FwSC0tbgtQhyBgcCOHtqvA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C14F2DFF6 for ; Sun, 18 Feb 2024 19:23:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rblnZ-0006z1-A3; Sun, 18 Feb 2024 13:21:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rblnY-0006yI-4i for guix-patches@gnu.org; Sun, 18 Feb 2024 13:21:56 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rblnX-0002O4-TE for guix-patches@gnu.org; Sun, 18 Feb 2024 13:21:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rblns-00030H-CW for guix-patches@gnu.org; Sun, 18 Feb 2024 13:22:16 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69205] [PATCH] gnu: Add go-1.22 and its standard library. Resent-From: Brennan Vincent Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Feb 2024 18:22:16 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69205 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69205@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170828053411499 (code B ref -1); Sun, 18 Feb 2024 18:22:16 +0000 Received: (at submit) by debbugs.gnu.org; 18 Feb 2024 18:22:14 +0000 Received: from localhost ([127.0.0.1]:37022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rblno-0002z3-W1 for submit@debbugs.gnu.org; Sun, 18 Feb 2024 13:22:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:53956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rblQe-0001mW-Fg for submit@debbugs.gnu.org; Sun, 18 Feb 2024 12:58:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbPX4-0003nt-QJ for guix-patches@gnu.org; Sat, 17 Feb 2024 13:35:26 -0500 Received: from smtp.umanwizard.com ([54.203.248.109]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbPX2-0004rO-5q for guix-patches@gnu.org; Sat, 17 Feb 2024 13:35:26 -0500 Received: from localhost ([70.18.6.196]) by smtp.umanwizard.com ; 17 Feb 2024 18:35:20 +0000 X-Fes-Received-For: guix-patches@gnu.org X-Fes-Received-From: From: Brennan Vincent Date: Sat, 17 Feb 2024 13:35:16 -0500 Message-ID: <878r3j7xcr.fsf@san-diego.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain X-Fes-Encrypted: true X-Fes-Ehlo-Domain: localhost Received-SPF: pass client-ip=54.203.248.109; envelope-from=brennan@umanwizard.com; helo=smtp.umanwizard.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -2.81 X-Spam-Score: -2.81 X-Migadu-Queue-Id: C14F2DFF6 X-TUID: VovJQZW0cszz * gnu/packages/golang.scm (go-1.22): New variable. * gnu/packages/golang.scm (go-std-1.22): New variable. Change-Id: I18d92874d4131843e7c6cf0e8d89f2946f7b972d --- gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 527b63d160..43953edf47 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1112,6 +1112,38 @@ (define-public go-1.21 ("api" "share/go/api" ,tests) ("test" "share/go/test" ,tests)))))))))))) +(define-public go-1.22 + (package + (inherit go-1.21) + (name "go") + (version "1.22.0") + (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 "00j6sn2zysk5pdzxw1wfdi31wggzw1h1026ah3x3mi85dwsijhjs")))) + (arguments + (substitute-keyword-arguments (package-arguments go-1.21) + ((#:phases phases) + #~(modify-phases #$phases + (replace 'unpatch-perl-shebangs + (lambda _ + ;; Avoid inclusion of perl in closure by rewriting references + ;; to perl input in sourcecode generators and test scripts + (substitute* (find-files "src" "\\.pl$") + (("^#!.*") + "#!/usr/bin/env perl\n")))))))) + (native-inputs + ;; Go 1.22 and later requires Go 1.20 (min. 1.20.6, which we don't have) + ;; as the bootstrap toolchain. + (alist-replace "go" + (list go-1.21) + (package-native-inputs go-1.21))))) + (define-public go go-1.17) (define make-go-std @@ -1155,6 +1187,7 @@ (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-std-1.20 (make-go-std go-1.20)) (define-public go-std-1.21 (make-go-std go-1.21)) +(define-public go-std-1.22 (make-go-std go-1.22)) (define-public go-0xacab-org-leap-shapeshifter (let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474") base-commit: 3cf199dbcf85a44fa8370e786e568fc3feb7067c -- 2.41.0