From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: [PATCH 1/2] Add offlineimap Date: Mon, 19 May 2014 16:39:02 -0500 Message-ID: <87ppj9qwi1.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmVE2-0006JL-Hg for Guix-devel@gnu.org; Mon, 19 May 2014 17:36:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmVDy-00084x-Bi for Guix-devel@gnu.org; Mon, 19 May 2014 17:36:02 -0400 Received: from mail-ie0-x22b.google.com ([2607:f8b0:4001:c03::22b]:39952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmVDy-00084n-5R for Guix-devel@gnu.org; Mon, 19 May 2014 17:35:58 -0400 Received: by mail-ie0-f171.google.com with SMTP id rp18so3279928iec.30 for ; Mon, 19 May 2014 14:35:57 -0700 (PDT) Received: from cooper.gmail.com (chippewa-nat.cray.com. [136.162.34.1]) by mx.google.com with ESMTPSA id h7sm23815770igy.2.2014.05.19.14.35.55 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 19 May 2014 14:35:55 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Guix-devel@gnu.org --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-Add-offlineimap.patch >From a6dccce1e179f96e39cff2ea67fb436aeaf06cd4 Mon Sep 17 00:00:00 2001 From: Eric Bavier 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 --=-=-= -- Eric Bavier --=-=-=--