unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 1/2] Add offlineimap
@ 2014-05-19 21:39 Eric Bavier
  2014-05-20  7:47 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Bavier @ 2014-05-19 21:39 UTC (permalink / raw)
  To: Guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-offlineimap.patch --]
[-- Type: text/x-diff, Size: 2237 bytes --]

From a6dccce1e179f96e39cff2ea67fb436aeaf06cd4 Mon Sep 17 00:00:00 2001
From: Eric Bavier <bavier@member.fsf.org>
Date: Mon, 19 May 2014 16:33:08 -0500
Subject: [PATCH 1/2] gnu: Add offlineimap

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

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 3790b58..1ba75da 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -32,6 +32,7 @@
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages openssl)
   #:use-module (gnu packages perl)
+  #:use-module (gnu packages python)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages compression)
@@ -44,6 +45,7 @@
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system python)
   #:use-module (srfi srfi-1))
 
 (define-public mailutils
@@ -253,4 +255,30 @@ content (body).  The program is able to learn from the user's classifications
 and corrections.  It is based on a Bayesian filter.")
     (license gpl2)))
 
+(define-public offlineimap
+  (package
+    (name "offlineimap")
+    (version "6.5.5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/OfflineIMAP/offlineimap/"
+                                  "archive/v" version ".tar.gz"))
+              (sha256
+               (base32
+                "00k84qagph3xnxss6rkxm61x07ngz8fvffx4z9jyw5baf3cdd32p"))))
+    (build-system python-build-system)
+    (native-inputs `(("python" ,python-2)))
+    (arguments
+     ;; The setup.py script expects python-2.
+     `(#:python ,python-2
+      ;; Tests require a modifiable IMAP account.
+       #:tests? #f))
+    (home-page "http://www.offlineimap.org")
+    (synopsis "Synch emails between two repositories")
+    (description
+     "OfflineImap synchronizes emails between two repositories, so that you
+can read the same mailbox from multiple computers.  It supports IMAP as REMOTE
+repository and Maildir/IMAP as LOCAL repository.")
+    (license gpl2)))
+
 ;;; mail.scm ends here
-- 
1.7.9.5


[-- Attachment #2: Type: text/plain, Size: 17 bytes --]


-- 
Eric Bavier

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

* Re: [PATCH 1/2] Add offlineimap
  2014-05-19 21:39 [PATCH 1/2] Add offlineimap Eric Bavier
@ 2014-05-20  7:47 ` Ludovic Courtès
  2014-05-20 14:07   ` Eric Bavier
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2014-05-20  7:47 UTC (permalink / raw)
  To: Eric Bavier; +Cc: Guix-devel

Eric Bavier <ericbavier@gmail.com> skribis:

> From a6dccce1e179f96e39cff2ea67fb436aeaf06cd4 Mon Sep 17 00:00:00 2001
> From: Eric Bavier <bavier@member.fsf.org>
> Date: Mon, 19 May 2014 16:33:08 -0500
> Subject: [PATCH 1/2] gnu: Add offlineimap
>
> * gnu/packages/mail.scm (offlineimap): New variable.

Looks good to me!

> +    (synopsis "Synch emails between two repositories")

“Sync” or “Synchronize”?

> +    (license gpl2)))

From a quick glance at the code, it appears to be ‘gpl2+’ (with “or
later” clause.)  Could you double-check and adjust accordingly?

Ludo’.

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

* Re: [PATCH 1/2] Add offlineimap
  2014-05-20  7:47 ` Ludovic Courtès
@ 2014-05-20 14:07   ` Eric Bavier
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Bavier @ 2014-05-20 14:07 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Guix-devel


Ludovic Courtès writes:

> Eric Bavier <ericbavier@gmail.com> skribis:
>
>> From a6dccce1e179f96e39cff2ea67fb436aeaf06cd4 Mon Sep 17 00:00:00 2001
>> From: Eric Bavier <bavier@member.fsf.org>
>> Date: Mon, 19 May 2014 16:33:08 -0500
>> Subject: [PATCH 1/2] gnu: Add offlineimap
>>
>> * gnu/packages/mail.scm (offlineimap): New variable.
>
> Looks good to me!
>
>> +    (synopsis "Synch emails between two repositories")
>
> “Sync” or “Synchronize”?

I changed it to "Synchronize"

>
>> +    (license gpl2)))
>
> From a quick glance at the code, it appears to be ‘gpl2+’ (with “or
> later” clause.)  Could you double-check and adjust accordingly?

I double-checked, and yes, it's gpl2+.

Pushed with those changes.  Thanks.

-- 
Eric Bavier

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

end of thread, other threads:[~2014-05-20 14:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-19 21:39 [PATCH 1/2] Add offlineimap Eric Bavier
2014-05-20  7:47 ` Ludovic Courtès
2014-05-20 14:07   ` Eric Bavier

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