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 {
|
2018-01-16 20:53:03 +01:00
|
|
|
version = "5";
|
2017-02-03 18:57:35 +01:00
|
|
|
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";
|
2018-01-16 20:53:03 +01:00
|
|
|
sha256 = "1k2m44pj5i6vfhp9icdqs42chsp208llanc666p3d9nww8ngq2lb";
|
2017-02-03 18:57:35 +01:00
|
|
|
};
|
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";
|
2018-01-17 10:41:34 +01:00
|
|
|
homepage = "http://www.muchsync.org/";
|
2017-02-03 19:01:37 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ ocharles ];
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
};
|
2017-02-03 18:57:35 +01:00
|
|
|
}
|