From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: Re: [PATCH 3/3] gnu: Add notmuch Date: Sun, 22 Jun 2014 17:23:03 -0400 Message-ID: <87ppi0vdu0.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> References: <87y4wove3j.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WypEG-0005st-J2 for guix-devel@gnu.org; Sun, 22 Jun 2014 17:23:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WypEA-0002tO-Sp for guix-devel@gnu.org; Sun, 22 Jun 2014 17:23:12 -0400 Received: from na3sys009aog113.obsmtp.com ([74.125.149.209]:51177) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WypEA-0002tK-KB for guix-devel@gnu.org; Sun, 22 Jun 2014 17:23:06 -0400 Received: by mail-qa0-f45.google.com with SMTP id v10so4963069qac.32 for ; Sun, 22 Jun 2014 14:23:05 -0700 (PDT) Received: from izanagi (209-6-40-86.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com. [209.6.40.86]) by mx.google.com with ESMTPSA id d10sm13445873qaq.10.2014.06.22.14.23.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Jun 2014 14:23:04 -0700 (PDT) In-Reply-To: <87y4wove3j.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> 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=0003-gnu-Add-notmuch.patch >From b2f866ada34994d07279b2ebd6e6c73183ad9578 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 14 Jun 2014 20:52:09 -0400 Subject: [PATCH 3/3] gnu: Add notmuch. * gnu/packages/mail.scm (notmuch): New variable. --- gnu/packages/mail.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 796dcd7..d9c847d 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -44,6 +44,8 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages flex) #:use-module (gnu packages bdb) + #:use-module (gnu packages gdb) + #:use-module (gnu packages samba) #:use-module ((guix licenses) #:select (gpl2 gpl2+ gpl3+ lgpl2.1+ lgpl3+)) #:use-module (guix packages) @@ -326,4 +328,42 @@ messages you need; in addition, it allows you to view messages, extract attachments, create new maildirs, and so on.") (license gpl3+))) +(define-public notmuch + (package + (name "notmuch") + (version "0.18") + (source (origin + (method url-fetch) + (uri (string-append "http://notmuchmail.org/releases/notmuch-" + version ".tar.gz")) + (sha256 + (base32 + "1ia65iazz2hlp3ja57yn0chs27rzsky9kayw74njwmgi9faw3vh9")))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f ;; FIXME: Test suite hangs and times out. + #:phases (alist-replace + 'configure + (lambda* (#:key outputs #:allow-other-keys) + (setenv "CONFIG_SHELL" (which "sh")) + (let ((out (assoc-ref outputs "out"))) + (zero? (system* "./configure" + (string-append "--prefix=" out))))) + %standard-phases))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("emacs" ,emacs) + ("glib" ,glib) + ("gmime" ,gmime) + ("talloc" ,talloc) + ("xapian" ,xapian) + ("zlib" ,zlib))) + (home-page "http://notmuchmail.org/") + (synopsis "Thread-based email index, search, and tagging") + (description + "Notmuch is a command-line based program for indexing, searching, read- +ing, and tagging large collections of email messages.") + (license gpl3+))) + ;;; mail.scm ends here -- 2.0.0 --=-=-= Content-Type: text/plain -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate --=-=-=--