From patchwork Sun Aug 14 10:04:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\\(" X-Patchwork-Id: 41630 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 17F2127BBED; Sun, 14 Aug 2022 11:08:57 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B06C027BBE9 for ; Sun, 14 Aug 2022 11:08:50 +0100 (BST) Received: from localhost ([::1]:56180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNAY4-00083C-1q for patchwork@mira.cbaines.net; Sun, 14 Aug 2022 06:08:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNAVX-000650-Vl for guix-patches@gnu.org; Sun, 14 Aug 2022 06:06:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46187) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNAVX-0006BG-NJ for guix-patches@gnu.org; Sun, 14 Aug 2022 06:06:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNAVX-00056w-JI for guix-patches@gnu.org; Sun, 14 Aug 2022 06:06:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55903] [PATCH v7 25/41] gnu: Add go-github-com-emersion-go-pgpmail. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 Aug 2022 10:06:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55903 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55903@debbugs.gnu.org Cc: "\(unmatched-parenthesis" Received: via spool by 55903-submit@debbugs.gnu.org id=B55903.166047154619390 (code B ref 55903); Sun, 14 Aug 2022 10:06:11 +0000 Received: (at 55903) by debbugs.gnu.org; 14 Aug 2022 10:05:46 +0000 Received: from localhost ([127.0.0.1]:35896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNAV7-00052Z-RQ for submit@debbugs.gnu.org; Sun, 14 Aug 2022 06:05:46 -0400 Received: from knopi.disroot.org ([178.21.23.139]:54150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNAUo-0004zZ-Vl for 55903@debbugs.gnu.org; Sun, 14 Aug 2022 06:05:27 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7ED0D4014F; Sun, 14 Aug 2022 12:05:26 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5WXbmeo-XI92; Sun, 14 Aug 2022 12:05:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1660471511; bh=x5IvpOBL/QSuC8e3QaZlGpVoWU6i2+FSUl4tzWyrm6Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=UBLSoEgqvQd0CR43vzLQZH7QZTnnDGAJSFUZWbp9RAL2niGBa1pz2P4YpHbtJEytE ckHv4NNwn75ypt0o02Wb2cQvmLujztJT/N7C6SJdO0utRYCEaCV1kz/9lJrUCMRqTG vq2Vvpapyl2WvXEC8dv4tssgD91iLEgBiandlaySYpiFRAA6HvBOsDeBiRyFFJKyi4 XdkCEnlVpvop9HHhNB9hw59VLDK3Xw6sjkzqjLxTQttV+X8j/LQ21NKGim+J8D2J2M 2t1E9gXuNl3j4KXsByDViCr73arK6MPIvpZW+2pPC9lQefvkRKiDUuvahC4o+3pGGx mLluBJ9/leRoA== Date: Sun, 14 Aug 2022 11:04:44 +0100 Message-Id: <20220814100500.10205-25-paren@disroot.org> In-Reply-To: <20220814100500.10205-1-paren@disroot.org> References: <20220814100500.10205-1-paren@disroot.org> 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" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" X-Patchwork-Original-From: "\( via Guix-patches" via From: "\\(" X-getmail-retrieved-from-mailbox: Patches From: "(unmatched-parenthesis" * gnu/packages/golang.scm (go-github-com-emersion-go-pgpmail): New variable. --- gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 076290fe68..27be37307e 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -10556,3 +10556,32 @@ (define-public go-github-com-protonmail-go-crypto is completely backwards compatible with @url{golang.org/x/crypto,the official package}.") (license license:bsd-3))) + +(define-public go-github-com-emersion-go-pgpmail + (package + (name "go-github-com-emersion-go-pgpmail") + (version "0.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emersion/go-pgpmail") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ar26b0apw5bxn58qfn1a79cxigbmrqm1irh1rb7x57fydihc7wm")))) + (build-system go-build-system) + (arguments + (list ;; tests don't support our version of protonmail/go-crypto; see + ;; + #:tests? #f + #:import-path "github.com/emersion/go-pgpmail")) + (propagated-inputs (list go-golang-org-x-text + go-golang-org-x-crypto + go-github-com-emersion-go-message + go-github-com-protonmail-go-crypto)) + (home-page "https://github.com/emersion/go-pgpmail") + (synopsis "PGP mail encryption for Go") + (description + "The pgpmail package implements PGP encryption for e-mail messages.") + (license license:expat)))