unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#51278] [PATCH] gnu: Add neatmail.
@ 2021-10-19  6:13 jgart via Guix-patches via
  2021-11-14 14:15 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: jgart via Guix-patches via @ 2021-10-19  6:13 UTC (permalink / raw)
  To: 51278; +Cc: jgart

* 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")
-- 
2.33.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#51278] [PATCH] gnu: Add neatmail.
  2021-10-19  6:13 [bug#51278] [PATCH] gnu: Add neatmail jgart via Guix-patches via
@ 2021-11-14 14:15 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2021-11-14 14:15 UTC (permalink / raw)
  To: 51278; +Cc: 51278-done, jgart

Hello,

jgart via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/mail.scm (neatmail): New variable.

Thank you. I applied your patch with the tiny changes below.
> ---
>  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+)))
>  
> +       #:make-flags
> +       (list (string-append "CC=" ,(cc-for-target))
> +             (string-append "DESTDIR=" %output))

I removed the "DESTDIR" environment variable.

> +    (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.")

I removed trailing white spaces in the descrption.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-14 14:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-19  6:13 [bug#51278] [PATCH] gnu: Add neatmail jgart via Guix-patches via
2021-11-14 14:15 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).