2017-02-03 18:57:35 +01:00
|
|
|
{ stdenv, fetchurl
|
2017-03-28 19:23:19 +02:00
|
|
|
, notmuch, openssl, pkgconfig, sqlite, xapian, zlib
|
2017-02-03 18:57:35 +01:00
|
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "2";
|
|
|
|
name = "muchsync-${version}";
|
2017-02-03 19:01:37 +01:00
|
|
|
passthru = {
|
|
|
|
inherit version;
|
|
|
|
};
|
2017-02-03 18:57:35 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.muchsync.org/src/${name}.tar.gz";
|
|
|
|
sha256 = "1dqp23a043kkzl0g2f4j3m7r7lg303gz7a0fsj0dm5ag3kpvp5f1";
|
|
|
|
};
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ notmuch openssl sqlite xapian zlib ];
|
2017-02-03 19:01:37 +01:00
|
|
|
meta = {
|
|
|
|
description = "Synchronize maildirs and notmuch databases";
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ ocharles ];
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
};
|
2017-02-03 18:57:35 +01:00
|
|
|
}
|