From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gPZYCN7iMWOSOAEAbAwnHQ (envelope-from ) for ; Mon, 26 Sep 2022 19:35:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cI1jCN7iMWP8UAAAauVa8A (envelope-from ) for ; Mon, 26 Sep 2022 19:35:26 +0200 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 975493D1F7 for ; Mon, 26 Sep 2022 19:35:25 +0200 (CEST) Received: from localhost ([::1]:56794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ocs0q-0004D9-P7 for larch@yhetil.org; Mon, 26 Sep 2022 13:35:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocrQl-0004fR-Qz for guix-patches@gnu.org; Mon, 26 Sep 2022 12:58:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52590) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ocrQl-0003Tg-J3 for guix-patches@gnu.org; Mon, 26 Sep 2022 12:58:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ocrQl-0001YX-Eu for guix-patches@gnu.org; Mon, 26 Sep 2022 12:58:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55903] [PATCH v11 41/41] gnu: Add aerc. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 26 Sep 2022 16:58:07 +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.16642114785875 (code B ref 55903); Mon, 26 Sep 2022 16:58:07 +0000 Received: (at 55903) by debbugs.gnu.org; 26 Sep 2022 16:57:58 +0000 Received: from localhost ([127.0.0.1]:51655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ocrQc-0001Wb-8q for submit@debbugs.gnu.org; Mon, 26 Sep 2022 12:57:58 -0400 Received: from knopi.disroot.org ([178.21.23.139]:47894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ocrPP-0001QZ-UI for 55903@debbugs.gnu.org; Mon, 26 Sep 2022 12:56:44 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 6EF194C2EB; Mon, 26 Sep 2022 18:56:43 +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 SlcV23LI_YEI; Mon, 26 Sep 2022 18:56:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1664211372; bh=3lB9Gipwklv1+i3vf2CWWV+aNhgGUtxz/Bz0SY4cZRs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ByUybPQBZN0vd0KO/lPjjd2FCp16ECKtRwGveR8FraTLEgRu6p0Mo630utAd2c4QV x/T4VK4s2JdCXxhIH5Gu4O/xzAClr1lR7B7bk7pqe63YHQTVSISy4ylB8o+7gI0RpS MJHWUCXVvXzcdmmYPE3Bpv7c/DsBUwJrkiooxFBwH5YkPPzrU/9Gw+kxyrBeeGBXDn 1/is5zG0DryqiiaYoHjF4Gugom4AohEVVn96byIBWgJz6B+CDx2qo/uQ18LsLZqutv DwrrSaZrbVc+m6mUKu81hTAtc3uJtjyuTVC3rsEITo83K7ZoZEFgYu07zWUY7H+ujM 2q+oPS0vBSfCA== Date: Mon, 26 Sep 2022 17:55:52 +0100 Message-Id: <20220926165552.27970-41-paren@disroot.org> In-Reply-To: <20220926165552.27970-1-paren@disroot.org> References: <20220926165552.27970-1-paren@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664213725; h=from:from:sender:sender:reply-to: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=McnwZctPnEHY9FzuSqSDc3A95h8ncXGD4xQtf74gcXw=; b=dLyzcCHt+0y0LA4A36OlEWn7oqqEtJvd/SM8cgXMqtaQdK9zc/AHk6g0dBeiAR7ZF2OXza JWPKVu5pR+XlY9k33EQlWc9Yykrq8sLceVOnYn0bNyzS/D9uByrFxs81vJzQOQXbeOLpqP +y6NXwwUmK/Bsc/wvHJzJnvWtTw6xJijd41cSDcHBPOeUyLJ6AYHXrIiwSgN+z431XOLxh Ic4bUZF/ErLpr4wXWhjuGnHOrAjA4UCXgORGU75k+tX2VHx2AM5pNCWjh78TtRE7bJ98iL dkm5SWHDXEzDthA5PZPF4v05QdAu3LKRVSfNiRcw0azgWAAXP6sqDPbdBqk1Ig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664213725; a=rsa-sha256; cv=none; b=d3ukNPnLgh72mPgfu9oh3Pk68heF06y120LmQZxu6UJt3K9C0/NLkD0UiFrhgRW+RM81Ik MygnwzZ/k9wkRMbGTeUozKlahVApEKMFoXcBfTKlNfO00+Lu6FNqhmq4s3girzzgONnigR Di6iFCcNXlYKE4LO9i6OHrWJdOq/zC1ioyRngCGuhLiEda4mMKCTLbGGJGUuQM0cYJS2UH G8WcraX5DiJzC8qMH9jHL5xcLGFwHKcTftOGQ/9cxDX+TEMAZhAXM5E4QUPInjcOEZXzS3 EvLmY7Xlvo8Os9S0xUm1nH/aibIpbBGNMl0fqzMTztJch4Yw0UAX7teQDf/Hiw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=ByUybPQB; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -2.15 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=ByUybPQB; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 975493D1F7 X-Spam-Score: -2.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: jSjB/FtBCu0h From: "(unmatched-parenthesis" * gnu/packages/mail.scm (aerc): New variable. --- gnu/packages/mail.scm | 88 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 65d8060862..98929c0fc9 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -50,6 +50,7 @@ ;;; Copyright © 2022 Guillaume Le Vaillant ;;; Copyright © 2022 muradm ;;; Copyright © 2022 jgart +;;; Copyright © 2022 ( ;;; ;;; This file is part of GNU Guix. ;;; @@ -4748,3 +4749,90 @@ (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 aerc + (package + (name "aerc") + (version "0.12.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~rjarry/aerc") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1dsj5faklhp084j4r73lccjqd0i574ikf4saqmy6gjs2p2yd36lz")))) + (build-system go-build-system) + (arguments + (list #:import-path "git.sr.ht/~rjarry/aerc" + ;; No tests. + #:tests? #f + ;; Installing the source is only necessary for Go libraries. + #:install-source? #f + #:build-flags + #~(list "-tags=notmuch" "-ldflags" + (string-append "-X main.Version=" #$version + " -X git.sr.ht/~rjarry/aerc/config.shareDir=" + #$output "/share/aerc")) + #:phases + #~(modify-phases %standard-phases + (add-after 'build 'doc + (lambda* (#:key import-path build-flags #:allow-other-keys) + (invoke "make" "doc" "-C" + (string-append "src/" import-path)))) + (replace 'install + (lambda* (#:key import-path build-flags #:allow-other-keys) + (invoke "make" "install" "-C" + (string-append "src/" import-path) + (string-append "PREFIX=" #$output))))))) + (inputs (list go-github-com-zenhack-go-notmuch + go-golang-org-x-oauth2 + go-github-com-xo-terminfo + go-github-com-stretchr-testify + go-github-com-riywo-loginshell + go-github-com-pkg-errors + go-github-com-mitchellh-go-homedir + go-github-com-miolini-datacounter + go-github-com-mattn-go-runewidth + go-github-com-mattn-go-isatty + go-github-com-lithammer-fuzzysearch + go-github-com-kyoh86-xdg + go-github-com-imdario-mergo + go-github-com-google-shlex + go-github-com-go-ini-ini + go-github-com-gdamore-tcell + go-github-com-gatherstars-com-jwz + go-github-com-fsnotify-fsnotify + go-github-com-emersion-go-smtp + go-github-com-emersion-go-sasl + go-github-com-emersion-go-pgpmail + go-github-com-emersion-go-message + go-github-com-emersion-go-maildir + go-github-com-emersion-go-imap-sortthread + go-github-com-emersion-go-imap + go-github-com-emersion-go-msgauth + go-github-com-emersion-go-mbox + go-github-com-ddevault-go-libvterm + go-github-com-danwakefield-fnmatch + go-github-com-creack-pty + go-github-com-arran4-golang-ical + go-github-com-protonmail-go-crypto + go-github-com-syndtr-goleveldb-leveldb + go-git-sr-ht--sircmpwn-getopt)) + (native-inputs (list scdoc)) + (home-page "https://git.sr.ht/~rjarry/aerc") + (synopsis "Email client for the terminal") + (description "@code{aerc} is a textual email client for terminals. It +features: +@enumerate +@item First-class support for using patches and @code{git send-email} +@item Vi-like keybindings and command system +@item A built-in console +@item Support for multiple accounts +@end enumerate") + ;; The license given is MIT/Expat; however, linking against notmuch + ;; effectively makes it GPL-3.0-or-later. See this thread discussing it: + ;; + (license license:gpl3+))) -- 2.37.3