From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 wJ9SLzwJ7WIXkgAAbAwnHQ (envelope-from ) for ; Fri, 05 Aug 2022 14:12:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WIdRLjwJ7WLIMQAAG6o9tA (envelope-from ) for ; Fri, 05 Aug 2022 14:12:44 +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 4D1F28D13 for ; Fri, 5 Aug 2022 14:12:44 +0200 (CEST) Received: from localhost ([::1]:58464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJwC3-0002V8-GD for larch@yhetil.org; Fri, 05 Aug 2022 08:12:43 -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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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=1659701564; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=6ckqHoXVzEvtC5PJSEa0woRDaj1b4grmg8PG0TJ8p6s=; b=SUStZxs5aRtzur3GltsUGvzEpzHGB0QMMRoGtndUJgZT9LxVn30XsSN3rliPuuo+W0u3WW MC2rEgJnaICtUEIh2trTS73i0IxYpkWBufEnMoj3sEJ4epqCNA+U4uaq3FdMyMP+TnbDVx wqTvgn1gtI9/hf3X2p/x9TziNegvduQgFFXl3jruyIPudpBMRw86oHMTIAFFcXAReNo3ic jyaOr5q9WGKW6/PevgMD08O6WrFf90zlEACSbF2b/dsGsyUO9JYrJMXB0hjKXT3OPsW/Jr HiqUKVfHfXoH1FWAjOLP6eKj3TPGrvZnnZ2M2HNSy9pvvsvcaf05ZT20+e/6lA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659701564; a=rsa-sha256; cv=none; b=t/D4bEoScAFzTDbAGwqpK0cIbO0w8DjJI415qKMqsJmP1U8iWR5Nb8udc7Km0PJwdQX2P9 NyJrQ88wgi0lo35OI+RZ7ZzbUg0RHKbu2W2SXiS3JoX9juQhGMHvbq6tCimAPQWTg43vdZ qMNqBEDvXvkOdtULBGBPgvdNwmaG7kg3cW0Gl7wDHlV/8NL4jmlVPVil7W/cipR1h57UKu NHA13yCwAm5JTbE5ny3VtiXPYfDt6ORbCTfs7/jCofa8k9oQYAkh7FwtykUpgh/vsOGaEJ b/BBpbbtWQFXAXGyukLByI+oK885cser18E1Nfx1BtdDZG+HhMOZqwSOI2eufQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disr.it header.s=mail header.b=fs1WzZdV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=disr.it (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" X-Migadu-Spam-Score: 7.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disr.it header.s=mail header.b=fs1WzZdV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=disr.it (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" X-Migadu-Queue-Id: 4D1F28D13 X-Spam-Score: 7.40 X-Migadu-Scanner: scn1.migadu.com X-TUID: V5qXKBR+ARQD 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") -- 2.34.0