From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yCdcLPHqfGabKAEA62LTzQ:P1 (envelope-from ) for ; Thu, 27 Jun 2024 04:30:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id yCdcLPHqfGabKAEA62LTzQ (envelope-from ) for ; Thu, 27 Jun 2024 06:30:41 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuziwo.info header.s=protonmail header.b=DZdNXeRQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tuziwo.info (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719462641; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=FzsDad3mjW4LfGD6BdGbDV/MVuoT2weQbOcS7l3BNIs=; b=sdSNGlqBf/RD/fbFAF7yzhc4BSnW2bfFfeizxYPln2FoylwJ9/LNKA4bWt4VBlr/UD1rLz u2sKAX2GceDPEOcu4j4NE6e3y6Jgnks6QDa9b0sNRYL3CZnUZAfTZdW8QnUNnzYORgZIaJ pOLStmnzOx8cpEBOOUx5RgaweYMqxth+KjjEOfOyCj/Lbwe5o6DI6zz+IuzZCz1y9xKXW1 FJq+aQJvqjZzX9QgdS82lo1GtDwRZPL3KXcvwMQZqcTCqy8+dB7/3yAxUt8drYO3XAYPTq K7dIslveSigjTH7ky/wEwjIq9A6MIr4XAFv7WFgUgUfp++0m2VvJx2Km60EW0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719462641; a=rsa-sha256; cv=none; b=SVT0yw0k4oVm5oZj+zY9VujBIopv43RA0nX1QqBjoHxBL27P0grENIvmg3ZUXk2Y6dJhtA v14xW0I2m+wmxawNpmCwGkh09g0GymwNr5zTn9Ntk3/ZA3x9g5vJpOgoeCdoSg5nyQEt53 CNDrSiaKnAQYrEANJQXaSy+vNDWtGLMGxZZP65WXVyVD98W2tXd9pXvagu0LJ6yQ0z1Egl PCsnLdoA3LXEcPEjph0nS0dkfoBK1m5fEpnBbIJScyvaRJmu1PrKISYtxB7dIAHIiA5G1e OpElbfd7FnIpja6Fv0mnL9On5Sj5dso8H8cJW2pRexDN8BVGppu15BRapEVPkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuziwo.info header.s=protonmail header.b=DZdNXeRQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tuziwo.info (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" 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 6A1146C377 for ; Thu, 27 Jun 2024 06:30:41 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMgm7-0000LQ-4L; Thu, 27 Jun 2024 00:30:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMglo-0000Hz-AT for guix-patches@gnu.org; Thu, 27 Jun 2024 00:30:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sMglo-0005T8-18 for guix-patches@gnu.org; Thu, 27 Jun 2024 00:30:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sMglq-0003nl-Lx for guix-patches@gnu.org; Thu, 27 Jun 2024 00:30:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71780] [PATCH 3/3] gnu: add hydroxide Resent-From: Jean SIMARD Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 27 Jun 2024 04:30:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71780 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71780@debbugs.gnu.org Cc: Jean SIMARD Received: via spool by 71780-submit@debbugs.gnu.org id=B71780.171946256014446 (code B ref 71780); Thu, 27 Jun 2024 04:30:06 +0000 Received: (at 71780) by debbugs.gnu.org; 27 Jun 2024 04:29:20 +0000 Received: from localhost ([127.0.0.1]:40736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMgl5-0003kp-Pj for submit@debbugs.gnu.org; Thu, 27 Jun 2024 00:29:20 -0400 Received: from mail-4317.proton.ch ([185.70.43.17]:27721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMN9a-0004cc-AG for 71780@debbugs.gnu.org; Wed, 26 Jun 2024 03:33:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuziwo.info; s=protonmail; t=1719387189; x=1719646389; bh=FzsDad3mjW4LfGD6BdGbDV/MVuoT2weQbOcS7l3BNIs=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=DZdNXeRQpWH0Rn0eMa6zELyJqxAI8caacLmViz6x1AL1bq9PSVTE32feR5MB2HrKm 3bWfIzT9oyRR8V4OI5ib+jRhnpdr1wUpVqjPYUuuFxcNYCZ8oAfMIBVyNOlwdfjgEz XviBq9BYyFZGRv47qs3X2wLlkU0u9ROp59xSoRVtFc5cKYQOg34Az0yUVLJeB1LqnH VW8U7J7cJDofUNVUOeEzALqXPuoKIcHW1tFZW+l+svKvgwbRQ8Cqh1FFfumahlYY2w dCsPY1b4+Fuh9uJCooObxEPO/nQFHLzbfaViSH2+WKUi6SgaupKWEn+0px4zfXj8IM xvtBr8XIRihLw== Date: Wed, 26 Jun 2024 07:33:05 +0000 From: Jean SIMARD Message-ID: In-Reply-To: References: Feedback-ID: 30348956:user:proton X-Pm-Message-ID: fc7a95ae4b20e48b103622d8d9510983a9f95034 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Thu, 27 Jun 2024 00:29:17 -0400 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 6A1146C377 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.27 X-Spam-Score: -4.27 X-TUID: IGMHNEYPTBEb Change-Id: Ic94a984da0cd458037f1246a8501f6cb10c19708 Note that `go-github-com-emersion-go-smtp` is already used in an older version for `aerc`. The newer version, needed for `hydroxide` does not compile for `aerc`. Therefore, a variant is needed for `hydroxide`. Change-Id: Ibb4599e008806afc0f1908baf4b4c54f5e30c059 --- gnu/packages/golang-crypto.scm | 24 ++++++ gnu/packages/golang.scm | 135 +++++++++++++++++++++++++++++++++ gnu/packages/mail.scm | 37 +++++++++ 3 files changed, 196 insertions(+) diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.sc= m index 94112973b5..5921acb4f1 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -21,6 +21,7 @@ ;;; Copyright =C2=A9 2023 Jack Hill ;;; Copyright =C2=A9 2024 Troy Figiel ;;; Copyright =C2=A9 2024 Jesse Eisses +;;; Copyright =C2=A9 2024 Jean Simard ;;; ;;; This file is part of GNU Guix. ;;; @@ -375,6 +376,29 @@ (define-public go-github-com-dvsekhvalnov-jose2go library.") (license license:expat))) =20 +(define-public go-github-com-emersion-go-bcrypt + (package + (name "go-github-com-emersion-go-bcrypt") + (version "0.0.0-20170822072041-6e724a1baa63") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emersion/go-bcrypt") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1pchrgs05w30iqbh4d6iys4wvlyajsdwchp5mkf59amgsbyjaqgm")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/emersion/go-bcrypt")) + (propagated-inputs (list go-golang-org-x-crypto)) + (home-page "https://github.com/emersion/go-bcrypt") + (synopsis "Extract of bcrypt from golang.org/x/crypto/bcrypt") + (description "An extract bcrypt from golang.org/x/crypto/bcrypt.") + (license license:bsd-3))) + (define-public go-github-com-emersion-go-pgpmail (package (name "go-github-com-emersion-go-pgpmail") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 0b1a16d8e1..6e568d8add 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -45,6 +45,7 @@ ;;; Copyright =C2=A9 2023 Cl=C3=A9ment Lassieur ;;; Copyright =C2=A9 2024 Troy Figiel ;;; Copyright =C2=A9 2024 Greg Hogan +;;; Copyright =C2=A9 2024 Jean Simard ;;; ;;; This file is part of GNU Guix. ;;; @@ -5860,6 +5861,32 @@ (define-public go-github-com-ddevault-go-libvterm "This is a fork of another go-libvterm library for use with aerc.") (license license:expat)))) =20 +(define-public go-github-com-boltdb-bolt + (package + (name "go-github-com-boltdb-bolt") + (version "1.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/boltdb/bolt") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0z7j06lijfi4y30ggf2znak2zf2srv2m6c68ar712wd2ys44qb3r")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/boltdb/bolt" + #:tests? #f)) + (home-page "https://github.com/boltdb/bolt") + (synopsis "Pure Go key/value store inspired by Howard Chu's LMDB proje= ct") + (description + "Bolt is a pure Go key/value store inspired by Howard Chu's LMDB proj= ect. + The goal of the project is to provide a simple, fast, and reliable da= tabase + for projects that don't require a full database server such as Postgr= es or MySQL.") + (license license:expat))) + (define-public go-github-com-emersion-go-imap (package (name "go-github-com-emersion-go-imap") @@ -5936,6 +5963,21 @@ (define-public go-github-com-emersion-go-smtp defined by RFC 5321.") (license license:expat))) =20 +(define-public go-github-com-emersion-go-smtp-v0.18 + (package + (inherit go-github-com-emersion-go-smtp) + (name "go-github-com-emersion-go-smtp") + (version "0.18.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emersion/go-smtp") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1d17gmz88cnfld8y1j2jsmldhvg8czbdmrjis0ls9zi7rfqlmnra"))))= )) + (define-public go-github-com-emersion-go-sasl (package (name "go-github-com-emersion-go-sasl") @@ -6085,6 +6127,99 @@ (define-public go-github-com-emersion-go-mbox @code{mbox} files.") (license license:expat))) =20 +(define-public go-github-com-emersion-go-vcard + (package + (name "go-github-com-emersion-go-vcard") + (version "0.0.0-20230815062825-8fda7d206ec9") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emersion/go-vcard") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "12n5jinj5xzdfl9jhqvjbzxvj32bw310mdw4q5rjv35pk566zixl")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/emersion/go-vcard")) + (home-page "https://github.com/emersion/go-vcard") + (synopsis "Go library to parse and format vCard") + (description "A Go library to parse and format vCard.") + (license license:expat))) + +(define-public go-github-com-teambition-rrule-go + (package + (name "go-github-com-teambition-rrule-go") + (version "1.8.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/teambition/rrule-go") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1fnbava35w9z60carny5b7whd4nkv6hrf9g43wwg8d88gfij9zj2")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/teambition/rrule-go")) + (home-page "https://github.com/teambition/rrule-go") + (synopsis + "Go library for working with recurrence rules for calendar dates") + (description + "A go library for working with recurrence rules for calendar dates.") + (license license:expat))) + +(define-public go-github-com-emersion-go-ical + (package + (name "go-github-com-emersion-go-ical") + (version "0.0.0-20240127095438-fc1c9d8fb2b6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emersion/go-ical") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "01cn9kggkdalb6xp2nrka01gs40zs8v6h5bq8d2m8wrdcsy5b36v")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/emersion/go-ical")) + (propagated-inputs (list go-github-com-teambition-rrule-go)) + (home-page "https://github.com/emersion/go-ical") + (synopsis "Go library for iCalendar") + (description "An iCalendar library for Go.") + (license license:expat))) + +(define-public go-github-com-emersion-go-webdav + (package + (name "go-github-com-emersion-go-webdav") + (version "v0.3.2-0.20220524091811-5d845721d8f7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emersion/go-webdav") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1vxf9k7m4lxsyry374bm4y34d2sb2ssy0c45mb1vchdfhffgyj9i")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/emersion/go-webdav")) + (propagated-inputs (list go-github-com-emersion-go-ical + go-github-com-emersion-go-vcard)) + (home-page "https://github.com/emersion/go-webdav") + (synopsis "Go library for WebDAV, CalDAV and CardDAV") + (description "A Go library for WebDAV, CalDAV and CardDAV.") + (license license:expat))) + (define-public go-github-com-google-go-cmp-cmp (package (name "go-github-com-google-go-cmp-cmp") diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index de6d21e7cc..dd813baef6 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -56,6 +56,7 @@ ;;; Copyright =C2=A9 2023 Arjan Adriaanse ;;; Copyright =C2=A9 2023 Wilko Meyer ;;; Copyright =C2=A9 2024 Benjamin Slade +;;; Copyright =C2=A9 2024 Jean Simard ;;; ;;; This file is part of GNU Guix. ;;; @@ -5121,3 +5122,39 @@ (define-public aerc ;; (license license:gpl3+))) + +(define-public hydroxide + (package + (name "hydroxide") + (version "0.2.28") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emersion/hydroxide") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1a7qga9qxwcdjimra9d9jnkds1iwh2sqk6241p4di6awli9zksv1")))) + (build-system go-build-system) + (arguments + (list + #: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-v0.18 + go-github-com-emersion-go-vcard + go-github-com-emersion-go-webdav + go-golang-org-x-crypto + go-golang-org-x-term)) + (home-page "https://github.com/emersion/hydroxide") + (synopsis "Third-party, open-source ProtonMail bridge") + (description "A third-party, open-source ProtonMail bridge. + For power users only, designed to run on a server. + hydroxide supports CardDAV, IMAP and SMTP.") + (license license:expat))) --=20 2.41.0