From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id RrhMEaWpNWHFBgEAgWs5BA (envelope-from ) for ; Mon, 06 Sep 2021 07:39:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KKtIDKWpNWGieQAAbx9fmQ (envelope-from ) for ; Mon, 06 Sep 2021 05:39:49 +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 79A3058E5 for ; Mon, 6 Sep 2021 07:39:48 +0200 (CEST) Received: from localhost ([::1]:49764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mN7MB-0002DD-Kb for larch@yhetil.org; Mon, 06 Sep 2021 01:39:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mN7LX-0002C9-M1 for guix-patches@gnu.org; Mon, 06 Sep 2021 01:39:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39851) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mN7LT-0006PF-0u for guix-patches@gnu.org; Mon, 06 Sep 2021 01:39:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mN7LS-0006S0-VQ for guix-patches@gnu.org; Mon, 06 Sep 2021 01:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50420] [PATCH 2/2] gnu: Add go-github-com-google-gmail-oauth2-tools-go-sendgmail. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 06 Sep 2021 05:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50420 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50420@debbugs.gnu.org Cc: Philip McGrath Received: via spool by 50420-submit@debbugs.gnu.org id=B50420.163090672224765 (code B ref 50420); Mon, 06 Sep 2021 05:39:02 +0000 Received: (at 50420) by debbugs.gnu.org; 6 Sep 2021 05:38:42 +0000 Received: from localhost ([127.0.0.1]:51396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mN7L8-0006RN-55 for submit@debbugs.gnu.org; Mon, 06 Sep 2021 01:38:42 -0400 Received: from mail-qk1-f170.google.com ([209.85.222.170]:45909) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mN7L7-0006Qy-9J for 50420@debbugs.gnu.org; Mon, 06 Sep 2021 01:38:41 -0400 Received: by mail-qk1-f170.google.com with SMTP id a10so5865605qka.12 for <50420@debbugs.gnu.org>; Sun, 05 Sep 2021 22:38:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cZIhRiA6PUxG0T+AKi68WKK0nZOP1+Q6IzFZ3HOGXyA=; b=RClDMxuBHfBWJ1sjWb7uiBZK9WieCdKigUq1i5jY3wcC6MtgpGet74AVv16o3Ymi4W JHvzptnz6omOn2rw8ysk2iQbpBKv5HGT+4xD4UMczXUHxUB8dEl2ymcvRTaJf3+3GLzG r2UUoiRO+a8ejrmfcFhjWEZX7+pjTOZBDmF2UQW8MeG1F7Cc4P5RuwhAv6gElTNtkpDL J8rO5Uk7xNmDkzsPp88ilbm1d5w2Qp638Njwa4zWIg/ce06rb6I3BV0qoY93789IV9RH gaSIJN/jeg+Zq2QiafqU/tuWaxAJCgUTDOioklPT8md1xmxuULPY4QUslNbQfS1OKC74 nilA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=cZIhRiA6PUxG0T+AKi68WKK0nZOP1+Q6IzFZ3HOGXyA=; b=qGZQHw8ZJ9N33Tws+cuE/L9Ahe++EOs6+nt0lDew2ts9q4WzDGEBet39YwceE+Z0cM mr1kQ6FsLDvasYB7mrNKDUH6xjYN2vW4I4o9tYgblBypHYIbm0cTNyej3NDnj9EODEaP NcOht74NW8ngLT+fq6AzpWn0Lr1UozkQCQcsS+Yn5hZ55vBWL+09b/eUjE+SkY1DzzYu HLdnXZng8yPORRm9gT44PBChpedKi6aFOVrjVNFPvTZ1RTYWOMNJjrDCYtZqOj8g0756 sYICMBtvRvzTx2EA2Ii1Zit1iwfRMb1kgYctOh/DTeNiuO/FKROwo0YDVGU5+xErBuuU RTHA== X-Gm-Message-State: AOAM533orEqZfx5Fh0Xb+e3t5Lw4pwg/nAh2gvi1vZiDURoX+sY272YO mP2kFjJShgvYMNPX/oZrhePFb1gHyNHWBvlW X-Google-Smtp-Source: ABdhPJy0e6TWi5S5voTSefuGDUvoI0CjnP1zxT29TSQPlbni3XEdrQqp5inim1FuLLBHPsvMjRj2vA== X-Received: by 2002:a37:f705:: with SMTP id q5mr9638163qkj.523.1630906715270; Sun, 05 Sep 2021 22:38:35 -0700 (PDT) Received: from localhost ([2601:589:4900:c80:3d4:6a56:4476:ffaf]) by smtp.gmail.com with ESMTPSA id h6sm4757364qtn.51.2021.09.05.22.38.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 Sep 2021 22:38:35 -0700 (PDT) From: Philip McGrath Date: Mon, 6 Sep 2021 01:37:52 -0400 Message-Id: <20210906053752.506357-2-philip@philipmcgrath.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210906053752.506357-1-philip@philipmcgrath.com> References: <20210906053607.505949-1-philip@philipmcgrath.com> <20210906053752.506357-1-philip@philipmcgrath.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=1630906788; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=cZIhRiA6PUxG0T+AKi68WKK0nZOP1+Q6IzFZ3HOGXyA=; b=U6Q/D7ysycoagkr53bScRB50rkC6ISgfI/SgEB49GLZQJ1IABNEXPI0fk95RSkuyxnXAlJ jzpi1904f9zrfhv50fkcdOjtqjlJpwLHMIIikLbYeQuTqvhSNehP0RKqcZi2YSdksnnuM3 HXBDLEbId7PTBlHCDYzYjNw/wFYC+uXe+7jwgg5TOgGAJ6wdrDjfjDAi9+UpXzzywDrD8+ LO+kPyaizQYWXzsRtHpg+oVllyJ31aMHSAhqAOvntx9L64KnLUCYmSAfUm9+2cDM7SJueO 8C7xJ2jD73wE8KDW4/n8u2yHgKpzpHeNL6Y8rjnmYfkdN2bJzbJcIiSQMcXWLw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630906788; a=rsa-sha256; cv=none; b=iE4qpCe0icPiH7vuEn2wYlTrru3Tf7A0LxK4JVGwtVYvbYyvLauBTA3A/Tcu8YxjdngyWc HIIIR3pg9AzfZG8m1OLo/YSLIx/G7tHM0xTsYtkZSRxbwxKG+jywIVhBS6NXToyVBoT1A+ gI75Zb2E34PXeqN+BnJAJ4ET4UmzhZhpROB6QTvVi0ntMWJ3olWDuAkhujOlyi24I19C2E Eo8A44laJ8L2B6L4IHQqZLWy69klYqo31OQuvdv0s6On/Ofq/zfRCrRkWVGg9o/IzZBeHa cFR2lUYUFdLzAjxIoHy/mErcNvBpcG5P/rfUBdVu7k46TUZ+HyxnRd/oIbgVFw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=RClDMxuB; 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: 3.59 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=RClDMxuB; dmarc=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: 79A3058E5 X-Spam-Score: 3.59 X-Migadu-Scanner: scn0.migadu.com X-TUID: OzaNRNVN/TGy * gnu/packages/golang.scm (go-github-com-google-gmail-oauth2-tools-go-sendgmail): New variable. --- gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 7980859b26..214365c73b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2781,6 +2781,41 @@ with the HTTP protocol definition.") API service accounts for Go.") (license license:asl2.0))) +(define-public go-github-com-google-gmail-oauth2-tools-go-sendgmail + (let ((commit "e3229155a4037267ce40f1a3a681f53221aa4d8d") + (revision "0")) + (package + (name "go-github-com-google-gmail-oauth2-tools-go-sendgmail") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/gmail-oauth2-tools") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1cxpkiaajhq1gjsg47r2b5xgck0r63pvkyrkm7af8c8dw7fyn64f")))) + (propagated-inputs + `(("go-golang-org-x-oauth2" ,go-golang-org-x-oauth2) + ("go-cloud-google-com-go-compute-metadata" + ,go-cloud-google-com-go-compute-metadata))) + (build-system go-build-system) + (arguments + '(#:unpack-path "github.com/google/gmail-oauth2-tools" + #:import-path "github.com/google/gmail-oauth2-tools/go/sendgmail")) + (home-page + "https://github.com/google/gmail-oauth2-tools/tree/master/go/sendgmail") + (synopsis + "Sendmail-compatible tool for using Gmail with @code{git send-email}") + (description + "The @command{sendgmail} command provides a minimal sendmail-compatible +front-end that connects to Gmail using OAuth2. It is specifically designed +for use with @code{git send-email}. The command needs a Gmail API key to +function.") + (license license:asl2.0)))) + (define-public go-github-com-google-cadvisor (let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd") (revision "0")) -- 2.30.2