nixpkgs/pkgs/applications/networking/mailreaders/notmuch/muchsync.nix

24 lines
705 B
Nix
Raw Normal View History

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