From patchwork Sun Aug 21 23:44:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cairn X-Patchwork-Id: 41807 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 F0B1927BBEA; Mon, 22 Aug 2022 00:53:17 +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 9E62627BBE9 for ; Mon, 22 Aug 2022 00:53:17 +0100 (BST) Received: from localhost ([::1]:43904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPukm-0005uT-Pf for patchwork@mira.cbaines.net; Sun, 21 Aug 2022 19:53:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPucp-00052B-30 for guix-patches@gnu.org; Sun, 21 Aug 2022 19:45:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47367) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPuco-0003Nq-NS for guix-patches@gnu.org; Sun, 21 Aug 2022 19:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oPuco-0002gN-Iv for guix-patches@gnu.org; Sun, 21 Aug 2022 19:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57326] [PATCH 7/7] gnu: Add hydroxide. References: <20220821193242.7062-1-cairn@pm.me> In-Reply-To: <20220821193242.7062-1-cairn@pm.me> Resent-From: Cairn Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 Aug 2022 23:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57326 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57326@debbugs.gnu.org Cc: Cairn Received: via spool by 57326-submit@debbugs.gnu.org id=B57326.166112549010090 (code B ref 57326); Sun, 21 Aug 2022 23:45:02 +0000 Received: (at 57326) by debbugs.gnu.org; 21 Aug 2022 23:44:50 +0000 Received: from localhost ([127.0.0.1]:37114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPucc-0002cg-H5 for submit@debbugs.gnu.org; Sun, 21 Aug 2022 19:44:50 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:38347) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPuca-0002cT-V2 for 57326@debbugs.gnu.org; Sun, 21 Aug 2022 19:44:49 -0400 Date: Sun, 21 Aug 2022 23:44:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1661125483; x=1661384683; bh=ulfjSj2FtFr+jWiegV0iCKkIFpuBNKPhA6o/25V1wsk=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:Feedback-ID:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID; b=jljquobInszxTpP8HkZbooFsKQQEvve+JbyTX0g248Sjmnw4gsnQBGMD3UcFx+tKU Xe1U0o6KE3nt23Vx0IuK42gyM1k5lWc7KvdNAYOamGpvOC7bcbX8QKYpbe0nAi9pqf jisFho1QxUF5hXurnfIsYcCmBGEbdojm22tns+Vwi+vv13ed1rrieg0T8YcrdWjTCN a21ZQEGrGYUJin+safS3qoDQfbpTAfV+rhlQxJmfZIgGLpXqufs+0+9cK8CHOWkmPO M6P1fcg3RU6jjpg54FaOlOG373qmeCfWiOPDV13aKQghkxXr2uDDsyPS4/XO/sfCf0 El0o2C6TJmmWA== Message-ID: <20220821234426.16349-1-cairn@pm.me> Feedback-ID: 6989168:user:proton 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: Cairn X-ACL-Warn: , Cairn via Guix-patches X-Patchwork-Original-From: Cairn via Guix-patches via From: Cairn X-getmail-retrieved-from-mailbox: Patches * gnu/packages/mail.scm (hydroxide): New variable. --- gnu/packages/mail.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 646902b4db..45023c0f7c 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -4675,3 +4675,39 @@ (define-public smtpmail mailserver on their machine. It enables these users to send their mail over a remote SMTP server.") (license license:gpl2+))) + +(define-public hydroxide + (let ((commit "4c32801c34b75696003ef534fc718d86787f8048") + (revision "8")) + (package + (name "hydroxide") + (version (git-version "0.2.23" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emersion/hydroxide") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "111hjm4ba7c9x897sh8vycqw3p61kh664i72rnw906pdyj1npjq6")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/emersion/hydroxide/cmd/hydroxide" + #:unpack-path "github.com/emersion/hydroxide")) + (inputs (list go-github-com-protonmail-go-crypto + go-github-com-boltdb-bolt + go-github-com-emersion-go-bcrypt + go-github-com-emersion-go-imap + go-github-com-emersion-go-mbox + go-github-com-emersion-go-message + go-github-com-emersion-go-smtp + go-github-com-emersion-go-vcard + go-github-com-emersion-go-webdav + go-golang-org-x-term)) + (home-page "https://github.com/emersion/hydroxide") + (synopsis "Third-party Proton Mail bridge supporting CardDAV, IMAP and SMTP") + (description "This CLI tool is an alternative to the official +Proton Mail Bridge. It allows you to use your preferred e-mail +clients and git-send-email with Proton Mail.") + (license license:expat))))