From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id m4dBHtGToWCZdAAAgWs5BA (envelope-from ) for ; Sun, 16 May 2021 23:51:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2OJiGdGToWB/BwAA1q6Kng (envelope-from ) for ; Sun, 16 May 2021 21:51:13 +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 3880A1595B for ; Sun, 16 May 2021 23:51:13 +0200 (CEST) Received: from localhost ([::1]:51340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liOfI-0007AR-F2 for larch@yhetil.org; Sun, 16 May 2021 17:51:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liOf8-00071J-Nu for guix-patches@gnu.org; Sun, 16 May 2021 17:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40069) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1liOf8-0007mW-GO for guix-patches@gnu.org; Sun, 16 May 2021 17:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1liOf8-0001mY-E4 for guix-patches@gnu.org; Sun, 16 May 2021 17:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48475] [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: Sun, 16 May 2021 21:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48475 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48475@debbugs.gnu.org Cc: Philip McGrath Received: via spool by 48475-submit@debbugs.gnu.org id=B48475.16212018286799 (code B ref 48475); Sun, 16 May 2021 21:51:02 +0000 Received: (at 48475) by debbugs.gnu.org; 16 May 2021 21:50:28 +0000 Received: from localhost ([127.0.0.1]:51614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liOea-0001lb-Cz for submit@debbugs.gnu.org; Sun, 16 May 2021 17:50:28 -0400 Received: from mail-qt1-f169.google.com ([209.85.160.169]:42712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liOeZ-0001lO-42 for 48475@debbugs.gnu.org; Sun, 16 May 2021 17:50:27 -0400 Received: by mail-qt1-f169.google.com with SMTP id k10so3582515qtp.9 for <48475@debbugs.gnu.org>; Sun, 16 May 2021 14:50:27 -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=qRN3l0p8AQVU2xw4vlJYUsYdkNUZLc0C9dDDvOrRFBM=; b=eO3ysYWinPlG/nmLW6T7ebss+fwuKFBhq+W2FHWGvZX/Q6iuQJ+iEiQeCGOk7F1rKL 9BZdaw4DaEM2hMwO+3I6J3XkKui+axFnbX8wUH0V7Tgxp9Vt5287ijdk59Bngh05iwea +FhGhv7hoGx5y1yqZ9RR3zQIUkPzvjiaX/bZngTuVLNZLJmYlEmorFeE1n6NcK/1XcPU XHQMUw3LHzPVFExNCbPKGxOu/s3YkXPhB5TZqRV8g9aojwKgL3fdrV1hn+mDk6nk+cyz bqPf7QJ20oL3VBmmpQfyn1zASPbunJFM383qvd9QyZWoVye95/bIgDcKcUXCMWSstMEy /gVg== 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=qRN3l0p8AQVU2xw4vlJYUsYdkNUZLc0C9dDDvOrRFBM=; b=MsSMyQHypxArBxKSLpFwwjn/kv45+IdbTqkyaq33G4oCLw4Gt5xcsinuahhnwogMDY JFvn43wjFaw1z4n6dVPW61xX6DeGWujNpObyFBfFxB5DdU84q1fynToSnPzW3hzkLZqR mBP8AmW9L04DnAjoWeqnXt19Ik4stumA3d1/aSPzPKjF39UKsED0qeu70/o48EWjHimI ejkvR/JqM37tBdD4RcYEoFASlnARJZwJs+bNvuiYkX2bAVmWzoZW7OttHxkJm6g83H3F GMxwmRNIaOtmtwnMfGE56Rk8fIemoViV2sTdiezGzBJG7pzK7GZznrQth420f1qb9j0U J5OQ== X-Gm-Message-State: AOAM530a9cHJlA7SssIhRMDfL8FwApOloMx5T2z6W9WwuQaTfDyflhQ+ Y0RedqtTW9+n2hd5oxoQr5l7Wz6JXZHdh8ru1No= X-Google-Smtp-Source: ABdhPJykn2+2LXxR/fT9x/Y6nDlhLHTANPcPPNYbCcxt/Ho1ujp7YyhJnkuBc5VSsJIuVhexSOusHg== X-Received: by 2002:a05:622a:113:: with SMTP id u19mr31025865qtw.323.1621201821493; Sun, 16 May 2021 14:50:21 -0700 (PDT) Received: from localhost (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with ESMTPSA id g5sm10159083qtm.2.2021.05.16.14.50.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 16 May 2021 14:50:21 -0700 (PDT) From: Philip McGrath Date: Sun, 16 May 2021 17:49:50 -0400 Message-Id: <20210516214950.696550-2-philip@philipmcgrath.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210516214950.696550-1-philip@philipmcgrath.com> References: <20210516214435.692046-1-philip@philipmcgrath.com> <20210516214950.696550-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=1621201873; 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=qRN3l0p8AQVU2xw4vlJYUsYdkNUZLc0C9dDDvOrRFBM=; b=NtvTXG8cva3o51G+WSOtne99qhsIRuHzTzLbKK7g/f8BgUYLdLUGiG5v/2UNn5Sswi0kp5 0GV3IjiUmIxijBhDqddp/kfYIm5F9Dy/I/Vv1w1OiWIec0GTmYEYo/QGVsGbuSbjrkRxnL alGEFjZ6fh1ETQvnAYEoTDu/nH5RLwTrHO9TZjtO+n+rdoug1W+WYJU3JJk0ZVjfdN4JcO e/sM3GX3EHbKTxFLUaaRe4JGzS5JklkT7lYPp2ADBLo28zJLLLaFtxQlp7L4BJ84/LbtEe PTaVG0Eo42mW625lFkdfB/5mLDixvX3P4/+ab1Kt3P5LclXTFkLGuytdIUGtig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621201873; a=rsa-sha256; cv=none; b=X+UP7WX0fhpbGXLklXhyMmaEJ26gyXa3SIGUP4XSbR3EWIL9mtInJpfBKthqku+eajJn7E hrp5VkfUYAYdaIrCeHLap6xkXgakRr3kAQWGgyZCRn30izLrJzwAdaVVDmUWqo+nc+5a6a 02ng2LrtKeK11C5tVcjWPtcmmjR3GZ+duKhOxNCMzI9TO4drkz4QquvUiPHDSAX4fg3jzn sn1jnT4Z2aZua8Vsnk+Csf/ptvviCqGcHWDsXNP2o8TN0otCuadUyTZSFEc1dC00+rfj1v XPpMc/d6uBSt4WPHc2Qy2z9jllPXXOD5w18fFNKQff8dKjODYOT2qzIzwWHLaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=eO3ysYWi; 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: 5.05 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=eO3ysYWi; 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: 3880A1595B X-Spam-Score: 5.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: ihO3TOgjTPzs * 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 265b1b4a54..48c46ee5bf 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1611,6 +1611,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