From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: [PATCH 2/2] Add mu Date: Mon, 19 May 2014 16:39:53 -0500 Message-ID: <87oaytqwgm.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]:37185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmVEt-0007DP-Nx for Guix-devel@gnu.org; Mon, 19 May 2014 17:37:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmVEn-0008Vu-R4 for Guix-devel@gnu.org; Mon, 19 May 2014 17:36:55 -0400 Received: from mail-ig0-x22f.google.com ([2607:f8b0:4001:c05::22f]:46263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmVEn-0008Vp-KZ for Guix-devel@gnu.org; Mon, 19 May 2014 17:36:49 -0400 Received: by mail-ig0-f175.google.com with SMTP id uq10so4064575igb.8 for ; Mon, 19 May 2014 14:36:49 -0700 (PDT) Received: from cooper.gmail.com (chippewa-nat.cray.com. [136.162.34.1]) by mx.google.com with ESMTPSA id ri2sm4572832igc.1.2014.05.19.14.36.45 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 19 May 2014 14:36:45 -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=0002-gnu-Add-mu.patch >From e373b54e5b31c33ab174146876e74e2942edded1 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Mon, 19 May 2014 16:36:57 -0500 Subject: [PATCH 2/2] gnu: Add mu. * gnu/packages/mail.scm (mu): New variable. --- gnu/packages/mail.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 1ba75da..ece06dd 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -20,9 +20,12 @@ (define-module (gnu packages mail) #:use-module (gnu packages) #:use-module (gnu packages autotools) + #:use-module (gnu packages base) #:use-module (gnu packages cyrus-sasl) #:use-module (gnu packages dejagnu) + #:use-module (gnu packages emacs) #:use-module (gnu packages gdbm) + #:use-module (gnu packages glib) #:use-module (gnu packages gnupg) #:use-module (gnu packages gnutls) #:use-module (gnu packages guile) @@ -34,6 +37,7 @@ #:use-module (gnu packages perl) #:use-module (gnu packages python) #:use-module (gnu packages readline) + #:use-module (gnu packages search) #:use-module (gnu packages texinfo) #:use-module (gnu packages compression) #:use-module (gnu packages glib) @@ -281,4 +285,45 @@ can read the same mailbox from multiple computers. It supports IMAP as REMOTE repository and Maildir/IMAP as LOCAL repository.") (license gpl2))) +(define-public mu + (package + (name "mu") + (version "0.9.9.5") + (source (origin + (method url-fetch) + (uri (string-append "https://mu0.googlecode.com/files/mu-" + version ".tar.gz")) + (sha256 + (base32 + "1hwkliyb8fjrz5sw9fcisssig0jkdxzhccw0ld0l9a10q1l9mqhp")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("texinfo" ,texinfo))) + ;; TODO: Add webkit and gtk to build the mug GUI. + (inputs + `(("xapian" ,xapian) + ("emacs" ,emacs) + ("guile" ,guile-2.0) + ("glib" ,glib) + ("gmime" ,gmime) + ("tzdata" ,tzdata))) ;for mu/test/test-mu-query.c + (arguments + '(#:phases (alist-cons-before + 'check 'check-tz-setup + (lambda* (#:key inputs #:allow-other-keys) + ;; For mu/test/test-mu-query.c + (setenv "TZDIR" + (string-append (assoc-ref inputs "tzdata") + "/share/zoneinfo"))) + %standard-phases))) + (home-page "http://www.djcbsoftware.nl/code/mu/") + (synopsis "Quickly find emails") + (description + "Mu is a tool for dealing with e-mail messages stored in the +Maildir-format. Mu's purpose in life is to help you to quickly find the +messages you need; in addition, it allows you to view messages, extract +attachments, create new maildirs, and so on.") + (license gpl3+))) + ;;; mail.scm ends here -- 1.7.9.5 --=-=-= -- Eric Bavier --=-=-=--