[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/3] gnu: Add notmuch
From: |
David Thompson |
Subject: |
Re: [PATCH 3/3] gnu: Add notmuch |
Date: |
Sun, 22 Jun 2014 17:23:03 -0400 |
User-agent: |
Notmuch/0.18 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) |
>From b2f866ada34994d07279b2ebd6e6c73183ad9578 Mon Sep 17 00:00:00 2001
From: David Thompson <address@hidden>
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
--
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate