From patchwork Sun May 16 21:49:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 29377 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 8D65927BC81; Sun, 16 May 2021 22:51:09 +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 56E7A27BC78 for ; Sun, 16 May 2021 22:51:09 +0100 (BST) Received: from localhost ([::1]:51132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liOfE-00071U-It for patchwork@mira.cbaines.net; Sun, 16 May 2021 17:51:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liOf8-00071B-9F for guix-patches@gnu.org; Sun, 16 May 2021 17:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40068) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1liOf8-0007lt-2J 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-0001mQ-0y for guix-patches@gnu.org; Sun, 16 May 2021 17:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48475] [PATCH 1/2] gnu: Add go-cloud-google-com-go-compute-metadata. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 16 May 2021 21:51:01 +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.16212018206778 (code B ref 48475); Sun, 16 May 2021 21:51:01 +0000 Received: (at 48475) by debbugs.gnu.org; 16 May 2021 21:50:20 +0000 Received: from localhost ([127.0.0.1]:51611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liOeS-0001lG-42 for submit@debbugs.gnu.org; Sun, 16 May 2021 17:50:20 -0400 Received: from mail-qk1-f172.google.com ([209.85.222.172]:45047) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liOeQ-0001l1-Pk for 48475@debbugs.gnu.org; Sun, 16 May 2021 17:50:19 -0400 Received: by mail-qk1-f172.google.com with SMTP id a2so4043414qkh.11 for <48475@debbugs.gnu.org>; Sun, 16 May 2021 14:50:18 -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=mLKVDTLQt/mkXJRiACT+bBy0cQl3bu5N7Xovk8o0hxg=; b=buy7anOfshSgm9qxk1XXfhRk1wcbs8x75EaIxQvKqBt9GDd2I6H/cSvoItQWAV4l3X j/nn5b+bUa8NqZ+qoMMv/6QPTKrl8J77jZFH0zc1pUB1qfQ3ZnT2FH0P8wfqEoCS2K+R yA5w7YXU6uWUhRfMGnizUxvK7M//YcyDg5OaeB1mCmZ3r4avG1PYxAJf98wRSEx/o9Ql 9S4hbtxGvI8d2K2igsga7cs/EmCDQY51TEjYp7wuhsUQrjt16LAUCiLptz/KuBnQX/e3 buo9F2lOqOGwhLhAXr6Jq/eKpObZpsWJ+EMLPX/7YwVIPV1O9BmwyK2CzAHOFGeQU9GZ VmAQ== 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=mLKVDTLQt/mkXJRiACT+bBy0cQl3bu5N7Xovk8o0hxg=; b=UyfGF1hnQCBaTWCdgSuosk7vbxKqDBvqi82EWYSdwcokjP2C5oC9ESgx3UHlBtH+AT eSczMrinvMDhlXIbkPMiDHB04/1QBymwjrbuetiPeYm/khzePMNhFaWLlmwvkwIX03bw Bh+0N/my1LwO+u8ZgN3Bx50/Ewa3o5TrCBr3m0cJ0+oXPsjAuAK4CIQLz4epXa9H25Nm a5I4F0BygdakKuStv6v0NgVkhbBsly1fQ0D/lK3iS5d66Vebs4xmuHVeHAiCbtb7lrm8 179VWpukOu4zMYiuA9kIIjF7nLUa95QOBCKPC8LqO44HYE1DVFuct/aaKKt3lnYbIer+ Kp9Q== X-Gm-Message-State: AOAM533vvpW3trRUS4l3NstvTrQpjVS7SI9fWYGukUycqudnl+ajAL4+ atfqfpEKVbgA5HwCwgHGTz5KaEWywC+eOAv9B8s= X-Google-Smtp-Source: ABdhPJxs1Vvri3BHUJQffERiBXSy1xw4Kose68JzXHQCe3b20rH6iDP65K0HIXNXo6eZ1g0fgY89Rw== X-Received: by 2002:a37:42c7:: with SMTP id p190mr3362625qka.324.1621201813012; Sun, 16 May 2021 14:50:13 -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 e5sm2857215qtm.3.2021.05.16.14.50.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 16 May 2021 14:50:12 -0700 (PDT) From: Philip McGrath Date: Sun, 16 May 2021 17:49:49 -0400 Message-Id: <20210516214950.696550-1-philip@philipmcgrath.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210516214435.692046-1-philip@philipmcgrath.com> References: <20210516214435.692046-1-philip@philipmcgrath.com> 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-cloud-google-com-go-compute-metadata): New variable. --- gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 8c3c81ceda..265b1b4a54 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1584,6 +1584,33 @@ developers to use @code{http} methods explicitly and in a way that's consistent with the HTTP protocol definition.") (license license:expat))) +(define-public go-cloud-google-com-go-compute-metadata + (package + (name "go-cloud-google-com-go-compute-metadata") + (version "0.81.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/googleapis/google-cloud-go") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "15jgynqb5pbxqbj3a7ii970yn4srsw1dbxzxnhpkfkmplalpgyh3")))) + (build-system go-build-system) + (arguments + '(#:unpack-path "cloud.google.com/go" + #:import-path "cloud.google.com/go/compute/metadata")) + (home-page + "https://pkg.go.dev/cloud.google.com/go/compute/metadata") + (synopsis + "Go wrapper for Google Compute Engine metadata service") + (description + "This package provides access to Google Compute Engine (GCE) metadata and +API service accounts for Go.") + (license license:asl2.0))) + (define-public go-github-com-google-cadvisor (let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd") (revision "0")) From patchwork Sun May 16 21:49:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 29378 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 4FB9C27BC81; Sun, 16 May 2021 22:51:15 +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 0F0E727BC78 for ; Sun, 16 May 2021 22:51:15 +0100 (BST) Received: from localhost ([::1]:51340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liOfK-0007AR-9q for patchwork@mira.cbaines.net; Sun, 16 May 2021 17:51:14 -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 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-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"))