2011-05-06 23:07:48 +02:00
|
|
|
{ fetchgit, stdenv, bash, emacs, gdb, git, glib, gmime, gnupg1, pkgconfig, talloc, xapian }:
|
2011-02-13 02:34:49 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-05-06 23:07:48 +02:00
|
|
|
name = "notmuch-0.6-rc1";
|
2011-02-13 02:34:49 +01:00
|
|
|
|
2011-02-14 06:01:33 +01:00
|
|
|
src = fetchgit {
|
2011-04-18 19:19:44 +02:00
|
|
|
url = "git://github.com/chaoflow/notmuch";
|
2011-05-06 23:07:48 +02:00
|
|
|
rev = "236dc05f919a2deda8ed7f65bb8f52e0c39cd017";
|
|
|
|
sha256 = "7045f0cfee3d44f404e2a40295cfc586f803f9d6cabb063f0256e468a8be3670";
|
2011-02-13 02:34:49 +01:00
|
|
|
};
|
|
|
|
|
2011-05-06 23:07:48 +02:00
|
|
|
buildInputs = [ bash emacs gdb git glib gmime gnupg1 pkgconfig talloc xapian ];
|
2011-04-18 19:19:44 +02:00
|
|
|
|
2011-04-26 22:57:21 +02:00
|
|
|
# XXX: Make me a loop
|
2011-04-18 19:19:44 +02:00
|
|
|
patchPhase = ''
|
2011-05-06 23:07:48 +02:00
|
|
|
substituteInPlace "test/atomicity" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
2011-04-18 19:19:44 +02:00
|
|
|
substituteInPlace "test/author-order" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/basic" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/crypto" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/dump-restore" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/emacs" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/emacs-large-search-buffer" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/encoding" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/from-guessing" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/json" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/long-id" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/maildir-sync" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/new" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/notmuch-test" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/raw" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/reply" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/search" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/search-by-folder" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/search-insufficient-from-quoting" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/search-output" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/search-position-overlap-bug" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/test-lib.sh" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/test-verbose" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/thread-naming" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/thread-order" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
substituteInPlace "test/uuencode" \
|
|
|
|
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
|
|
|
'';
|
|
|
|
|
|
|
|
postBuild = ''
|
|
|
|
make test
|
|
|
|
'';
|
2011-02-13 02:34:49 +01:00
|
|
|
|
|
|
|
meta = {
|
2011-04-18 19:19:54 +02:00
|
|
|
description = "Notmuch -- The mail indexer";
|
2011-02-13 02:34:49 +01:00
|
|
|
|
|
|
|
longDescription = "";
|
|
|
|
|
|
|
|
license = "GPLv3";
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.chaoflow ];
|
|
|
|
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
|
|
|
};
|
|
|
|
}
|