From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MCf7Aot+ZWD/CQAAgWs5BA (envelope-from ) for ; Thu, 01 Apr 2021 10:04:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kD5sOIp+ZWCsNQAAbx9fmQ (envelope-from ) for ; Thu, 01 Apr 2021 08:04:26 +0000 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 94BCBB226 for ; Thu, 1 Apr 2021 10:04:26 +0200 (CEST) Received: from localhost ([::1]:40644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRsJV-00055F-Q3 for larch@yhetil.org; Thu, 01 Apr 2021 04:04:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRsIH-00041P-5f for guix-patches@gnu.org; Thu, 01 Apr 2021 04:03:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRsIG-0000su-TN for guix-patches@gnu.org; Thu, 01 Apr 2021 04:03:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRsIG-0007rD-Qx for guix-patches@gnu.org; Thu, 01 Apr 2021 04:03:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47539] [PATCH 10/28] gnu: Add go-github-com-cli-oauth. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Apr 2021 08:03:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47539 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47539@debbugs.gnu.org Received: via spool by 47539-submit@debbugs.gnu.org id=B47539.161726415629934 (code B ref 47539); Thu, 01 Apr 2021 08:03:08 +0000 Received: (at 47539) by debbugs.gnu.org; 1 Apr 2021 08:02:36 +0000 Received: from localhost ([127.0.0.1]:56143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRsHj-0007mY-Uz for submit@debbugs.gnu.org; Thu, 01 Apr 2021 04:02:36 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:54328 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRsHi-0007lT-Ag for 47539@debbugs.gnu.org; Thu, 01 Apr 2021 04:02:34 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1617264148; bh=FGvSu4ic9gXuPakPhG5wJc/pFPOjz3sGfQF32xG+HCI=; h=From:To:Subject:In-Reply-To:References:Date; b=KQdbPh6GnUZAxBL/0zEF5TyPN/Lg3A1Lbpo6+MzXx5Y8cL3U8QDdgHM2t+TPeyv1e zi+At8dXmJwlpFVUoMRRksALZRuaCn4GaNl/lPrskrxyg49rYU+RO26aqDFwGiQhLH d8LT2kCy41cL5IrtklLHjHjessWig5M3HimdWiy0= In-Reply-To: References: Message-Id: Date: Thu, 01 Apr 2021 10:02:28 +0200 MIME-Version: 1.0 Content-Type: text/plain 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617264266; 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:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=TfWC8Kg59GBhjL2WfzU4OpPsfGYonNZe+SanwRKdrcA=; b=PBj1hC/mphwa2bljjveDf4MVF6xj80jtKseawyOxo9TmyRaNJmFrA1MnUopL8lWQMC/v0R gSYgwhC62DglFqQ5lceTOelvNzKAsVdzK9TlOLVGEO2Unq3p0vlU4/QaolIGqw+9YTAKBu CyaSpH7ifgZobEMRhLdSiXVKBnktAiB3qvOFCBpsVCFN7iD+7qw7LaoEkyziU8R4HDCGhH j9uanpuNv/rPbvujO555Z+GQ8dhR7f7m4oKQszB3k2hQauqwqwdMWe1S0l12yW+VBXy5JK kHQIADaM8OBsZ5JQ34WrP9WVZ6anyE7nTYCVwJkEDklaQXLmI2b9juMN7rml6A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617264266; a=rsa-sha256; cv=none; b=sTgLgIYqdOO0mTdVoo4Hk5fpL0W+idLp9THE7PUJhioZTPC2Yp7CVvLT/odQYIIOIyz+uZ 6zRi/13mJbnwYbpWU1/B6WhFPnR36XnDmGAHOfOIU2/0BrbFO7jtHIKn/uHVl4HQyKOjEo yFs9grkKlfcLJFF2Wc0rrPW6snkkXB0mUwR4N4lrJ8f1BEutUJipdtewhNazNlo3rv2TCV n+zIVqkKAANn8DXQu7B/8hcjO+lSkSG7wJBLDiF6rSVi67paZzix5lM5sJiBieOdyT/htY FHqC32xMjEUg3BMiHv5FuKfxQlv1VEjNpUeOwTG0ddKi2EQlNQCxKagNwr09Lw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=KQdbPh6G; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=KQdbPh6G; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 94BCBB226 X-Spam-Score: -0.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: R2Ig5TLuuLBq * gnu/packages/golang.scm (go-github-com-cli-oauth): New variable. --- gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 92ec492cc6..a2c203dafa 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7264,3 +7264,29 @@ indicator to any terminal application. ") files in the system default web browser.") (license license:bsd-2))) +(define-public go-github-com-cli-oauth + (package + (name "go-github-com-cli-oauth") + (version "0.8.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cli/oauth.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1b96cl53qc40xsgpxpy9qkrib4a4g02a4sq442qp8749qab5ljhs")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/cli/oauth")) + (native-inputs + `(("go-github-com-cli-browser" + ,go-github-com-cli-browser))) + (home-page "https://github.com/cli/oauth") + (synopsis "Perform OAuth Device flow and Web application flow in Go") + (description "This is a library for performing OAuth Device flow and Web +application flow in Go client apps.") + (license license:expat))) + -- 2.31.1