From patchwork Sat Jun 11 19:16:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "\\(" X-Patchwork-Id: 39877 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 1131327BBEA; Sat, 11 Jun 2022 20:21:31 +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 6512D27BBE9 for ; Sat, 11 Jun 2022 20:21:30 +0100 (BST) Received: from localhost ([::1]:39440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o06fp-0008Go-Gi for patchwork@mira.cbaines.net; Sat, 11 Jun 2022 15:21:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o06cl-0002SL-QJ for guix-patches@gnu.org; Sat, 11 Jun 2022 15:18:20 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60158) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o06ck-0007jd-P1 for guix-patches@gnu.org; Sat, 11 Jun 2022 15:18:19 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o06ck-00052e-LX for guix-patches@gnu.org; Sat, 11 Jun 2022 15:18:18 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55903] [PATCH 41/41] gnu: Add aerc. Resent-From: "(unmatched-parenthesis" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Jun 2022 19:18:18 +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.165497509419304 (code B ref 55903); Sat, 11 Jun 2022 19:18:18 +0000 Received: (at 55903) by debbugs.gnu.org; 11 Jun 2022 19:18:14 +0000 Received: from localhost ([127.0.0.1]:54042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o06cf-000517-PI for submit@debbugs.gnu.org; Sat, 11 Jun 2022 15:18:14 -0400 Received: from knopi.disroot.org ([178.21.23.139]:55110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o06cH-0004v0-2N for 55903@debbugs.gnu.org; Sat, 11 Jun 2022 15:17:49 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 947AB43C96; Sat, 11 Jun 2022 21:17:48 +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 BtdE9ucT3pu9; Sat, 11 Jun 2022 21:17:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1654975046; bh=YVPz8hpy7MVK5WZueGI+YRHc0hh6UfpLPwSzgVFAihk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=QLn1hlOX5N0iR4JyvLOCrLO0aqrggangh2nf7SWY3TZSS7gWAeWrIMtWVeg6/CecQ kOekhpo2rBTMxxcgu4R+DO3OJEwtCCD4AzLeKMGHm84ACyPd5ZXvGf0UTLH8JaKYrq pBwZIK3O9ewULRoiiowl5cLXY8v3LLc4gVmn0/IYy1GnIl+oJZvgHGbgSTZFF/gDQq g4jOGeiHOU8ed1JbOSpnRVAoXe3dhy9Hnybs4qKYCHclErU/85EhLlFv/t0vIbgo2D aQARHKWYSIwrzAW046TGv9Qx5u/B0RINHM7amzdCtQYZQCZJaqR3KN9FpEWASDyui3 PZvOUzddymDkA== Date: Sat, 11 Jun 2022 20:16:53 +0100 Message-Id: <20220611191653.15471-41-paren@disroot.org> In-Reply-To: <20220611191653.15471-1-paren@disroot.org> References: <20220611191653.15471-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: "\(unmatched-parenthesis" X-ACL-Warn: , "\(unmatched-parenthesis via Guix-patches" X-Patchwork-Original-From: "\(unmatched-parenthesis via Guix-patches" via From: "\\(" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/mail.scm (aerc): New variable. --- gnu/packages/mail.scm | 87 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 8596d0808b..0753a7df2c 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -47,6 +47,7 @@ ;;; Copyright © 2022 Andrew Tropin ;;; Copyright © 2022 Justin Veilleux ;;; Copyright © 2022 Thiago Jung Bauermann +;;; Copyright © 2022 (unmatched parenthesis ;;; ;;; This file is part of GNU Guix. ;;; @@ -4649,3 +4650,89 @@ (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.10.0-20220609074223-83e0e2638df9") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~rjarry/aerc") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "16lynv7adbkqnwr9kd061v3x5ls4libhcvqby0ryj6s72ra5h27j")))) + (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=" + #$(go-version->git-ref 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-gopkg-in-yaml-v2 + go-google-golang-org-protobuf-proto + go-google-golang-org-appengine + go-golang-org-x-term + go-golang-org-x-sys + go-golang-org-x-oauth2 + go-golang-org-x-net + 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-pointer + go-github-com-mattn-go-isatty + go-github-com-lucasb-eyer-go-colorful + go-github-com-lithammer-fuzzysearch + go-github-com-kyoh86-xdg + go-github-com-imdario-mergo + go-github-com-google-shlex + go-github-com-golang-protobuf-proto + 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-authres + 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-openpgp + go-git-sr-ht--sircmpwn-getopt)) + (native-inputs (list scdoc)) + (home-page "https://git.sr.ht/~rjarry/aerc") + (synopsis "Terminal email client") + (description "@code{aerc} is an email client for your terminal.") + ;; 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+)))