From patchwork Fri Jul 9 16:19:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 31266 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 BC50027BC81; Fri, 9 Jul 2021 17:36:41 +0100 (BST) 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_SIGNED, 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 8135127BC78 for ; Fri, 9 Jul 2021 17:36:41 +0100 (BST) Received: from localhost ([::1]:45572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1tUW-00061x-Ia for patchwork@mira.cbaines.net; Fri, 09 Jul 2021 12:36:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1tES-00062Z-Do for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48046) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1tER-0005XZ-TQ for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1tER-0004KC-QG for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49494] [PATCH 4/7] gnu: Add go-golang-org-x-term. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Jul 2021 16:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49494 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49494@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 49494-submit@debbugs.gnu.org id=B49494.162584759516565 (code B ref 49494); Fri, 09 Jul 2021 16:20:03 +0000 Received: (at 49494) by debbugs.gnu.org; 9 Jul 2021 16:19:55 +0000 Received: from localhost ([127.0.0.1]:59584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tEJ-0004J1-AY for submit@debbugs.gnu.org; Fri, 09 Jul 2021 12:19:55 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:42058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tE8-0004Hm-TR for 49494@debbugs.gnu.org; Fri, 09 Jul 2021 12:19:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=nlTkpu6kDDivhpkqIGmhkPNYooxN6WnN/FwdgELEdT4=; b=QlByK9tK1FWmu6Uv8zCyXI+EL2 HUB/L4BdSqZz4HCdxI/sX9IMqScmRzP2rPGHAYi7Kim43ctufTzzOAhbH6/g8ZIV8OaYu1RrK4LCg /YSku8s6z7voFJCD3zBrEfiz4QU0NFKRZWFHXKsIJEeJq5DTpysxnngkqKrXeF8J/K9uHWqiRg6nJ K3mKFnVAZu9r5sF+a3EQj/Gj7Qmg0LppLmzdRV7FztA9ctrReHx1EDQRSma6zVcf6LXimcifI+gTU eHkAECmIGSiyW5rS/WX6oRR9wfjPvXnHaz8DtgmaCsB4M1cdjh7cI8lRF+NvDZ7bHAyyGulZcFAsP PHaPAcQg==; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1m1tE6-000ASF-O6; Fri, 09 Jul 2021 21:49:42 +0530 From: Arun Isaac Date: Fri, 9 Jul 2021 21:49:37 +0530 Message-Id: <20210709161940.12759-4-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210709161940.12759-1-arunisaac@systemreboot.net> References: <20210709161940.12759-1-arunisaac@systemreboot.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-golang-org-x-term): New variable. --- gnu/packages/golang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 8eb93b9456..673d206713 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8300,3 +8300,27 @@ function. In addition to the pure-Go implementation, this package also contains AVX-512 and AVX2 routines (generated by avo) that greatly increase performance for large inputs and outputs.") (license license:expat))) + +(define-public go-golang-org-x-term + (package + (name "go-golang-org-x-term") + (version "0.0.0-20210615171337-6886f2dfbf5b") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://go.googlesource.com/term") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0661w7dp2ak1k4ii90v6chw2x8a6g4sc5j0ba58qlplaj4k5l0xs")))) + (build-system go-build-system) + (arguments '(#:import-path "golang.org/x/term")) + (propagated-inputs + `(("go-golang-org-x-sys" ,go-golang-org-x-sys))) + (home-page "https://pkg.go.dev/golang.org/x/term") + (synopsis "Go terminal/console support") + (description "@code{term} provides support functions for dealing with +terminals, as commonly found on Unix systems.") + (license license:bsd-3)))