From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SDNVOXL/62K9IAAAbAwnHQ (envelope-from ) for ; Thu, 04 Aug 2022 19:18:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oAFTOHL/62J8ZQEAG6o9tA (envelope-from ) for ; Thu, 04 Aug 2022 19:18:42 +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 75F27DC70 for ; Thu, 4 Aug 2022 19:18:42 +0200 (CEST) Received: from localhost ([::1]:36178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJeUb-00065d-Fq for larch@yhetil.org; Thu, 04 Aug 2022 13:18:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJeOV-0003hj-Ga for guix-patches@gnu.org; Thu, 04 Aug 2022 13:12:23 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJeOO-0007IX-CT for guix-patches@gnu.org; Thu, 04 Aug 2022 13:12:23 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJeOO-0004On-8V for guix-patches@gnu.org; Thu, 04 Aug 2022 13:12:16 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55903] [PATCH v6 41/41] gnu: Add aerc. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 04 Aug 2022 17:12:16 +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.165963309716578 (code B ref 55903); Thu, 04 Aug 2022 17:12:16 +0000 Received: (at 55903) by debbugs.gnu.org; 4 Aug 2022 17:11:37 +0000 Received: from localhost ([127.0.0.1]:54690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJeNk-0004JE-PS for submit@debbugs.gnu.org; Thu, 04 Aug 2022 13:11:37 -0400 Received: from knopi.disroot.org ([178.21.23.139]:44034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJeNa-0004HL-LR for 55903@debbugs.gnu.org; Thu, 04 Aug 2022 13:11:27 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 2C9DE40E80; Thu, 4 Aug 2022 19:11: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 vNnL1cN3MBYJ; Thu, 4 Aug 2022 19:11:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1659633065; bh=sMV83lY3m3r8/XG+Yw0aAOj4NP8MdoWDuVMUeGKFvNQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=UNWrf6vH2pWz4YPBiWpjJa812eYihCGzy0RvXBhH06IdnAjGQwUgNiOJ5/kCMG05r 5wmViMVKYlnWfZY/ENwV7WXgE9kY/1GUi/ZhHpQUycfbiRByLncz209jlyWK/tbq2U UYH1GcX+9PuKsQrJMKhtkqxoeLSNfc5dMdqeha3Oul4b9QxHq/3bBzm2q3hLQu+UM7 zwoi5c2jWOMBE8p4pPw8h/Z3d9+N5bjLbdOEvrDspYTvtZ7HH0X22/FGUATLlGGUBl OghjBhX4HQCe0CcbwtqlHRdEgii/N0Kha1rPIn4+PKv3HMLlvoHDVROoOgvj+JO7aA fDBvI/mtqjikA== Date: Thu, 4 Aug 2022 18:10:47 +0100 Message-Id: <20220804171047.24424-41-paren@disroot.org> In-Reply-To: <20220804171047.24424-1-paren@disroot.org> References: <20220804171047.24424-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=1659633522; 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=nuTilBoiHmsKU0DB9mTSslFGO34XTt9BeZJRVjk+QdQ=; b=uDDZIJoHMbcBZMXbzdaNbenUqotlMpftafF5e441GKaR3sktzXlm5Je9FPSjow676paP3I t+KnSZMtzeYX+PYxNlpW6zdoZh3qDiSdIiqEV9Ku65wKG/Un5UFuD0xDhlckhJMbFG3syM Om54QTMmjIryTL67nZtgK6OPyhFn7Ft8AnwNV/AoNUIziHjLPZOiDzDNVOhkA+Ms6OVEeP 30HMNBB6aJ5JeB3+v0tVyFAnj6MV/MSgHN+kszQcV83daOvyHr6rLVvE9Jgu3Yq67ws+Y0 PNg+H3HFANPCLbaBumSrBk8yVD2lbpxXytsCT7Fdga/JC3cIiRHCZNGLGmMsJw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659633522; a=rsa-sha256; cv=none; b=CLMchwKNvt3HHkWcw9p25v8cmPzkKJwZIDj6ENz3MMQjfPzUg0r2yliayk/+/UABKthlEa 5CPx0231AHL3olV7GOERomlbNOiUpHgORLCVXJsTI6ybS2EX4G254rA1eF/aBBl3/vucSj Cdu1zenQRaxQkbtcLGOgB4z4wKil8jTztz+3aOiPTQZldTS6KkyU+xKff+OlEoMKofJ6PM Uiig0pOepagZXTwt0NXwnbBMQC/HbhhUv07j4zfKWU1P+wUa6Y8oBlsZwpl8nWclBZthpz mIFRmgA1vjF6Jbiusc4SBk4lSme8TqWN5pQUTqwUXySBzyCb6nsT95Xpf6yaTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=UNWrf6vH; 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: -3.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=UNWrf6vH; 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: 75F27DC70 X-Spam-Score: -3.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: gcdSuXYT5+6U From: "(unmatched-parenthesis" * gnu/packages/mail.scm (aerc): New variable. --- gnu/packages/mail.scm | 85 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index ca4b3e819e..11dfcc02a5 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -49,6 +49,7 @@ ;;; Copyright © 2022 Thiago Jung Bauermann ;;; Copyright © 2022 Guillaume Le Vaillant ;;; Copyright © 2022 muradm +;;; Copyright © 2022 ( ;;; ;;; This file is part of GNU Guix. ;;; @@ -4678,3 +4679,87 @@ (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.11.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 + "05q7ilmjl9mfd0a72ayvl8f1fqxk27xmxbrw1dspbhc6vc27lj63")))) + (build-system go-build-system) + (arguments + (list #:import-path "git.sr.ht/~rjarry/aerc" + #:install-source? #f ; end-user application + #: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 #:allow-other-keys) + (with-directory-excursion (string-append "src/" import-path) + (invoke "make" "doc")))) + (replace 'install + (lambda* (#:key outputs import-path #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (with-directory-excursion (string-append "src/" import-path) + (invoke "make" "install" + (string-append "PREFIX=" out))))))))) + (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-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.1