From patchwork Tue Oct 19 06:13:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 33937 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 6A6FF27BBE3; Tue, 19 Oct 2021 07:15:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2C8F827BBE1 for ; Tue, 19 Oct 2021 07:15:19 +0100 (BST) Received: from localhost ([::1]:34094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mciP8-0007au-3w for patchwork@mira.cbaines.net; Tue, 19 Oct 2021 02:15:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mciOt-0007aY-1A for guix-patches@gnu.org; Tue, 19 Oct 2021 02:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37614) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mciOs-0005QM-On for guix-patches@gnu.org; Tue, 19 Oct 2021 02:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mciOs-0007V5-Cb for guix-patches@gnu.org; Tue, 19 Oct 2021 02:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51278] [PATCH] gnu: Add neatmail. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Oct 2021 06:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51278 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51278@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163462406628771 (code B ref -1); Tue, 19 Oct 2021 06:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Oct 2021 06:14:26 +0000 Received: from localhost ([127.0.0.1]:49160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mciOI-0007Tz-6B for submit@debbugs.gnu.org; Tue, 19 Oct 2021 02:14:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:37496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mciOE-0007To-DN for submit@debbugs.gnu.org; Tue, 19 Oct 2021 02:14:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mciOD-0007YY-Ox for guix-patches@gnu.org; Tue, 19 Oct 2021 02:14:22 -0400 Received: from mx1.dismail.de ([78.46.223.134]:16343) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mciOB-0004lM-7y for guix-patches@gnu.org; Tue, 19 Oct 2021 02:14:21 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id d01ef838 for ; Tue, 19 Oct 2021 08:14:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=SceC8adbovkaaLeddcYQMbzJvHZ73fua3tbY/GJxL68=; b= FGR9OqMI4TC8c4G9yff63YwX3VrBvG/WKw5CCv/FGt6P+BuNgKn2XHJjhLm0asz0 HQ86ZJqsegLrQ/jRNnlnNjYpciZk+d7vqUBKRtQMcqvaDh6A3JypqqawKYSYJl98 ID6lPNdI86R6zMFXC33CBsdswR4dsmyBi4gAFZO0TrNh7o5gPTFi/lLwJjgU/yWr XAV5GAD5OXvq99DmE7eGF3SIL2QCAkZ5JFqlSEndyt8me+c9bwcTTGiEEu3T2xTH LcFtc787bs8Gt0h4+zOprNn8DQi8JKvDx6ZVYirM65ytbMFAuoRThbVBFarJ6npI 6dOgjl7LYcZ13X8VWw2/hQ== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 582afe9a for ; Tue, 19 Oct 2021 08:14:12 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 22a0d844 for ; Tue, 19 Oct 2021 08:14:12 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 4123fd8e (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 19 Oct 2021 08:14:11 +0200 (CEST) Date: Tue, 19 Oct 2021 02:13:58 -0400 Message-Id: <20211019061358.8705-1-jgart@dismail.de> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: jgart X-ACL-Warn: , jgart via Guix-patches X-Patchwork-Original-From: jgart via Guix-patches via From: jgart X-getmail-retrieved-from-mailbox: Patches * gnu/packages/mail.scm (neatmail): New variable. --- gnu/packages/mail.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 523e6cdce3..6b29463ba3 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -4494,6 +4494,43 @@ (define-public libpst databases, and other tools to process Outlook email archives.") (license license:gpl2+))) +(define-public neatmail + (package + (name "neatmail") + (version "02") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/aligrudi/neatmail") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00d453d57d3v6ja2gpmjd8vch804c72g38pc1nr5shmz3hkgd52d")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; There are no tests. + #:make-flags + (list (string-append "CC=" ,(cc-for-target)) + (string-append "DESTDIR=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'install ; There is no install target in the Makefile. + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (rename-file "mail" "neatmail") + (install-file "neatmail" bin))))))) + (home-page "https://litcave.rudi.ir/") + (synopsis "Text-mode mail client") + (description +"@command{neatmail} is a noninteractive mail client. It generates a listing +of the messages in a mailbox in mbox format and executes a list of ex-like +commands on it.") + (license license:isc))) + (define-public crm114 (package (name "crm114")