unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add getmail
@ 2014-11-23  5:14 宋文武
  2014-11-23  5:22 ` 宋文武
  2014-11-24 20:24 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: 宋文武 @ 2014-11-23  5:14 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: 0001-gnu-Add-getmail.patch --]
[-- Type: text/x-patch, Size: 1889 bytes --]

From b26fe8c0c4f6517cfacedc6cfd48441c4aaa28dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@gmail.com>
Date: Sun, 23 Nov 2014 13:07:42 +0800
Subject: [PATCH] gnu: Add getmail.

* gnu/packages/mail.scm (getmail): New variable.
---
 gnu/packages/mail.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 46c2409..cb16663 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
+;;; Copyright © 2014 Sou Bunnbu <iyzsong@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -365,4 +366,29 @@ attachments, create new maildirs, and so on.")
 ing, and tagging large collections of email messages.")
     (license gpl3+)))
 
+(define-public getmail
+  (package
+    (name "getmail")
+    (version "4.46.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://pyropus.ca/software/getmail/old-versions/"
+                           name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "15rqmm25pq6ll8aaqh8h6pfdkpqs7y6yismb3h3w1bz8j292c8zl"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f ; no tests
+       #:python ,python-2))
+    (home-page "http://pyropus.ca/software/getmail/")
+    (synopsis "Mail retriever")
+    (description
+     "A flexible, extensible mail retrieval system with support for
+POP3, IMAP4, SSL variants of both, maildirs, mboxrd files, external MDAs,
+arbitrary message filtering, single-user and domain-mailboxes, and many other
+useful features.")
+    (license gpl2)))
+    
 ;;; mail.scm ends here
-- 
2.1.2

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

* Re: [PATCH] gnu: Add getmail
  2014-11-23  5:14 [PATCH] gnu: Add getmail 宋文武
@ 2014-11-23  5:22 ` 宋文武
  2014-11-24 20:24 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: 宋文武 @ 2014-11-23  5:22 UTC (permalink / raw)
  To: guix-devel

宋文武 <iyzsong@gmail.com> writes:

> From b26fe8c0c4f6517cfacedc6cfd48441c4aaa28dd Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@gmail.com>
> Date: Sun, 23 Nov 2014 13:07:42 +0800
> Subject: [PATCH] gnu: Add getmail.
>
> * gnu/packages/mail.scm (getmail): New variable.
> ---
>  gnu/packages/mail.scm | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>
> diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
> index 46c2409..cb16663 100644
> --- a/gnu/packages/mail.scm
> +++ b/gnu/packages/mail.scm
> @@ -2,6 +2,7 @@
>  ;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
>  ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
>  ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
> +;;; Copyright © 2014 Sou Bunnbu <iyzsong@gmail.com>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -365,4 +366,29 @@ attachments, create new maildirs, and so on.")
>  ing, and tagging large collections of email messages.")
>      (license gpl3+)))
>  
> +(define-public getmail
> +  (package
> +    (name "getmail")
> +    (version "4.46.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "http://pyropus.ca/software/getmail/old-versions/"
> +                           name "-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "15rqmm25pq6ll8aaqh8h6pfdkpqs7y6yismb3h3w1bz8j292c8zl"))))
> +    (build-system python-build-system)
> +    (arguments
> +     `(#:tests? #f ; no tests
> +       #:python ,python-2))
> +    (home-page "http://pyropus.ca/software/getmail/")
> +    (synopsis "Mail retriever")
> +    (description
> +     "A flexible, extensible mail retrieval system with support for
> +POP3, IMAP4, SSL variants of both, maildirs, mboxrd files, external MDAs,
> +arbitrary message filtering, single-user and domain-mailboxes, and many other
> +useful features.")
> +    (license gpl2)))
> +
Sorry for the trailing whitespace here.
>  ;;; mail.scm ends here
> -- 
> 2.1.2

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

* Re: [PATCH] gnu: Add getmail
  2014-11-23  5:14 [PATCH] gnu: Add getmail 宋文武
  2014-11-23  5:22 ` 宋文武
@ 2014-11-24 20:24 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2014-11-24 20:24 UTC (permalink / raw)
  To: 宋文武; +Cc: guix-devel

宋文武 <iyzsong@gmail.com> skribis:

> From b26fe8c0c4f6517cfacedc6cfd48441c4aaa28dd Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@gmail.com>
> Date: Sun, 23 Nov 2014 13:07:42 +0800
> Subject: [PATCH] gnu: Add getmail.
>
> * gnu/packages/mail.scm (getmail): New variable.

Applied, thanks!

Ludo’.

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

end of thread, other threads:[~2014-11-24 20:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-23  5:14 [PATCH] gnu: Add getmail 宋文武
2014-11-23  5:22 ` 宋文武
2014-11-24 20:24 ` Ludovic Courtès

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).