2012-01-21 18:29:11 +00:00
|
|
|
{ fetchurl, stdenv, bash, emacs, gdb, glib, gmime, gnupg1,
|
|
|
|
pkgconfig, talloc, xapian
|
|
|
|
}:
|
2011-02-13 01:34:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-10-16 16:32:46 +01:00
|
|
|
name = "notmuch-0.14";
|
2011-02-13 01:34:49 +00:00
|
|
|
|
2011-09-21 21:04:43 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://notmuchmail.org/releases/${name}.tar.gz";
|
2012-11-25 17:57:58 +00:00
|
|
|
sha256 = "095e191dc0f3125c4fd98440fdf55050cba01b8e9f68245ffe0190a7f39ca753";
|
2011-02-13 01:34:49 +00:00
|
|
|
};
|
|
|
|
|
2012-01-21 18:29:11 +00:00
|
|
|
buildInputs = [ bash emacs gdb glib gmime gnupg1 pkgconfig talloc xapian ];
|
2011-04-18 18:19:44 +01:00
|
|
|
|
|
|
|
patchPhase = ''
|
2011-10-14 11:30:14 +01:00
|
|
|
(cd test && for prg in \
|
|
|
|
aggregate-results.sh \
|
2012-01-21 18:29:11 +00:00
|
|
|
argument-parsing \
|
2011-11-20 19:22:53 +00:00
|
|
|
atomicity \
|
2011-10-14 11:30:14 +01:00
|
|
|
author-order \
|
|
|
|
basic \
|
|
|
|
crypto \
|
2012-01-21 18:29:11 +00:00
|
|
|
count \
|
2011-10-14 11:30:14 +01:00
|
|
|
dump-restore \
|
|
|
|
emacs \
|
|
|
|
emacs-large-search-buffer \
|
|
|
|
encoding \
|
|
|
|
from-guessing \
|
2012-01-21 18:29:11 +00:00
|
|
|
help-test \
|
|
|
|
hooks \
|
2011-10-14 11:30:14 +01:00
|
|
|
json \
|
|
|
|
long-id \
|
|
|
|
maildir-sync \
|
2012-01-21 18:29:11 +00:00
|
|
|
multipart \
|
2011-10-14 11:30:14 +01:00
|
|
|
new \
|
|
|
|
notmuch-test \
|
2012-01-21 18:29:11 +00:00
|
|
|
python \
|
2011-10-14 11:30:14 +01:00
|
|
|
raw \
|
|
|
|
reply \
|
|
|
|
search \
|
|
|
|
search-by-folder \
|
|
|
|
search-insufficient-from-quoting \
|
|
|
|
search-folder-coherence \
|
2012-01-21 18:29:11 +00:00
|
|
|
search-limiting \
|
2011-10-14 11:30:14 +01:00
|
|
|
search-output \
|
|
|
|
search-position-overlap-bug \
|
|
|
|
symbol-hiding \
|
2012-01-21 18:29:11 +00:00
|
|
|
tagging \
|
2011-10-14 11:30:14 +01:00
|
|
|
test-lib.sh \
|
|
|
|
test-verbose \
|
|
|
|
thread-naming \
|
|
|
|
thread-order \
|
|
|
|
uuencode \
|
|
|
|
;do
|
|
|
|
substituteInPlace "$prg" \
|
|
|
|
--replace "#!/usr/bin/env bash" "#!${bash}/bin/bash"
|
|
|
|
done)
|
2011-04-18 18:19:44 +01:00
|
|
|
'';
|
|
|
|
|
2012-01-21 18:29:11 +00:00
|
|
|
# XXX: emacs tests broken
|
2012-02-07 17:39:59 +00:00
|
|
|
doCheck = false;
|
|
|
|
checkTarget = "test";
|
2011-02-13 01:34:49 +00:00
|
|
|
|
|
|
|
meta = {
|
2011-04-18 18:19:54 +01:00
|
|
|
description = "Notmuch -- The mail indexer";
|
2011-02-13 01:34:49 +00:00
|
|
|
longDescription = "";
|
2011-11-20 21:49:06 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2012-01-21 18:29:11 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ chaoflow ];
|
|
|
|
platforms = stdenv.lib.platforms.gnu;
|
2011-02-13 01:34:49 +00:00
|
|
|
};
|
|
|
|
}
|