From patchwork Fri Aug 5 02:21:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mathieu X-Patchwork-Id: 41301 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 2FCB727BBEA; Fri, 5 Aug 2022 13:12:49 +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 760A627BBE9 for ; Fri, 5 Aug 2022 13:12:48 +0100 (BST) Received: from localhost ([::1]:58464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJwC7-0002V8-Is for patchwork@mira.cbaines.net; Fri, 05 Aug 2022 08:12:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJoGl-0003PI-Ce for guix-patches@gnu.org; Thu, 04 Aug 2022 23:45:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37612) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJoGl-0003HS-29 for guix-patches@gnu.org; Thu, 04 Aug 2022 23:45:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJoGk-0008W6-Sd for guix-patches@gnu.org; Thu, 04 Aug 2022 23:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56994] [PATCH] Add nmail Resent-From: matf@disr.it Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 05 Aug 2022 03:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56994 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56994@debbugs.gnu.org Cc: M X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165967108132685 (code B ref -1); Fri, 05 Aug 2022 03:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Aug 2022 03:44:41 +0000 Received: from localhost ([127.0.0.1]:55594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJoGM-0008V4-Q1 for submit@debbugs.gnu.org; Thu, 04 Aug 2022 23:44:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:58344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJmyQ-0006PJ-SM for submit@debbugs.gnu.org; Thu, 04 Aug 2022 22:22:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJmyQ-0001vG-CV for guix-patches@gnu.org; Thu, 04 Aug 2022 22:22:02 -0400 Received: from knopi.disroot.org ([178.21.23.139]:47708) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJmyJ-0007rb-VY for guix-patches@gnu.org; Thu, 04 Aug 2022 22:22:02 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B669840E4F; Fri, 5 Aug 2022 04:21:51 +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 oo6KlZNokOmk; Fri, 5 Aug 2022 04:21:50 +0200 (CEST) From: matf@disr.it DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disr.it; s=mail; t=1659666110; bh=x2ilHi5OXNN/8cWEpcL1DHnrirdYfi/XxjXr91jZ3qU=; h=From:To:Cc:Subject:Date; b=fs1WzZdVoQabn8pLY6vLiogn5Om3Uco9X+AhdCQBY8cKy9t6ZkpLFjfIrGl3DeE0W 4/CQEiGK+h8CW2K4+m70NbNwq4+4YjCjk/EEQAmdWe4QFsp59xAZe5HzI45SBDu0bO v5ibLmwSYzeKLzWdxjC1FMvHb4immSkU3aEj0q69GX8oABgaWAY9hm22tRQYunYc/C 28qhRYCdS0ADMNo6KV21VcqKf0DeAaD6nHGvua1mP7xXEzu26P5Ocss+2+LNwWYyNZ /c4OZ1gQWZFM0EgT6xniSug2CUQCdn5euLOADvGpvvXL0IArFm7BrwTGE14QqQQElF DM0msfxhTurMw== Date: Fri, 5 Aug 2022 04:21:37 +0200 Message-Id: <24b34888cb54d3702eaeebf40267d910be9b54bb.1659666096.git.matf@disr.it> Mime-Version: 1.0 Received-SPF: pass client-ip=178.21.23.139; envelope-from=matf@disr.it; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 04 Aug 2022 23:44:38 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 05 Aug 2022 08:12:26 -0400 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" X-getmail-retrieved-from-mailbox: Patches From: M --- gnu/packages/mail.scm | 74 ++++++++++++++++++++++++++++++++----------- 1 file changed, 55 insertions(+), 19 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index ca4b3e819e..0bc6519dd2 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 Mathieu Laparie ;;; ;;; This file is part of GNU Guix. ;;; @@ -66,8 +67,6 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages mail) - #:use-module (guix gexp) - #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages admin) #:use-module (gnu packages aspell) @@ -94,6 +93,7 @@ (define-module (gnu packages mail) #:use-module (gnu packages emacs) #:use-module (gnu packages enchant) #:use-module (gnu packages file) + #:use-module (gnu packages flex) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gawk) @@ -101,15 +101,14 @@ (define-module (gnu packages mail) #:use-module (gnu packages gettext) #:use-module (gnu packages ghostscript) #:use-module (gnu packages glib) - #:use-module (gnu packages golang) #:use-module (gnu packages gnome) #:use-module (gnu packages gnupg) + #:use-module (gnu packages golang) #:use-module (gnu packages groff) #:use-module (gnu packages gsasl) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages guile-xyz) - #:use-module (gnu packages flex) #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages icu4c) #:use-module (gnu packages kerberos) @@ -124,13 +123,14 @@ (define-module (gnu packages mail) #:use-module (gnu packages lsof) #:use-module (gnu packages lua) #:use-module (gnu packages m4) + #:use-module (gnu packages mail) #:use-module (gnu packages man) #:use-module (gnu packages ncurses) #:use-module (gnu packages nettle) #:use-module (gnu packages networking) #:use-module (gnu packages ninja) - #:use-module (gnu packages openldap) #:use-module (gnu packages onc-rpc) + #:use-module (gnu packages openldap) #:use-module (gnu packages pcre) #:use-module (gnu packages pdf) #:use-module (gnu packages perl) @@ -145,14 +145,14 @@ (define-module (gnu packages mail) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages ragel) - #:use-module (gnu packages regex) #:use-module (gnu packages rdf) #:use-module (gnu packages readline) + #:use-module (gnu packages regex) #:use-module (gnu packages ruby) - #:use-module (gnu packages search) - #:use-module (gnu packages serialization) #:use-module (gnu packages samba) #:use-module (gnu packages screen) + #:use-module (gnu packages search) + #:use-module (gnu packages serialization) #:use-module (gnu packages sphinx) #:use-module (gnu packages sqlite) #:use-module (gnu packages tcl) @@ -164,28 +164,28 @@ (define-module (gnu packages mail) #:use-module (gnu packages web) #:use-module (gnu packages webkit) #:use-module (gnu packages xdisorg) - #:use-module (gnu packages xorg) #:use-module (gnu packages xml) - #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix packages) - #:use-module (guix deprecation) - #:use-module (guix download) - #:use-module (guix git-download) - #:use-module (guix svn-download) - #:use-module (guix utils) + #:use-module (gnu packages xorg) #:use-module (guix build-system cmake) + #:use-module (guix build-system emacs) #:use-module (guix build-system glib-or-gtk) - #:use-module (guix build-system go) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system guile) - #:use-module (guix build-system emacs) #:use-module (guix build-system meson) #:use-module (guix build-system perl) #:use-module (guix build-system python) #:use-module (guix build-system trivial) - #:use-module (srfi srfi-1) + #:use-module (guix deprecation) + #:use-module (guix download) + #:use-module (guix gexp) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix svn-download) + #:use-module (guix utils) #:use-module (ice-9 match)) + #:use-module (srfi srfi-1)) (define-public abook (package @@ -441,6 +441,42 @@ (define-public guile2.2-mailutils (modify-inputs (package-inputs mailutils) (replace "guile" guile-2.2))))) +(define-public nmail + (package + (name "nmail") + (version "3.74") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/d99kris/nmail/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "07lkl5syx3l37dhsl41nhmjknhxqgmvwc4il4gygsnr333qk75c9")))) + (build-system cmake-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* + (#:key tests? #:allow-other-keys) + (when tests? (invoke "ctest" "--output-on-failure"))))))) + (inputs (list libetpan + xapian + sqlite + cyrus-sasl + ncurses + openssl + file + (list util-linux "lib"))) + (native-inputs (list pkg-config)) + (home-page "https://github.com/d99kris/nmail") + (synopsis "Terminal-based email client") + (description + "@command{nmail} is a terminal-based email client with a +@code{ncurses} user interface similar to @code{alpine} and @code{pine}.") + (license license:expat))) + (define-public nullmailer (package (name "nullmailer")