2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, perl
|
2021-02-04 12:01:55 +00:00
|
|
|
, openssl, db, cyrus_sasl, zlib
|
|
|
|
, Security
|
2020-05-10 10:48:12 +00:00
|
|
|
}:
|
2011-02-07 23:07:21 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-05-10 10:48:12 +00:00
|
|
|
pname = "isync";
|
2021-07-29 19:15:47 +00:00
|
|
|
version = "1.4.3";
|
2011-02-07 23:07:21 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-05-10 10:48:12 +00:00
|
|
|
url = "mirror://sourceforge/isync/${pname}-${version}.tar.gz";
|
2021-07-29 19:15:47 +00:00
|
|
|
sha256 = "024p3glj4p7fhrssw5sr55arls9zna1igxxrspxlfd6sbds21ixl";
|
2011-02-07 23:07:21 +00:00
|
|
|
};
|
|
|
|
|
2020-05-10 10:48:12 +00:00
|
|
|
nativeBuildInputs = [ pkg-config perl ];
|
2021-02-04 12:01:55 +00:00
|
|
|
buildInputs = [ openssl db cyrus_sasl zlib ]
|
|
|
|
++ lib.optionals stdenv.isDarwin [ Security ];
|
2011-02-07 23:07:21 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://isync.sourceforge.net/";
|
2020-05-10 10:48:12 +00:00
|
|
|
# https://sourceforge.net/projects/isync/
|
|
|
|
changelog = "https://sourceforge.net/p/isync/isync/ci/v${version}/tree/NEWS";
|
2011-02-07 23:07:21 +00:00
|
|
|
description = "Free IMAP and MailDir mailbox synchronizer";
|
2020-05-10 10:48:12 +00:00
|
|
|
longDescription = ''
|
|
|
|
mbsync (formerly isync) is a command line application which synchronizes
|
|
|
|
mailboxes. Currently Maildir and IMAP4 mailboxes are supported. New
|
|
|
|
messages, message deletions and flag changes can be propagated both ways.
|
|
|
|
'';
|
2015-05-28 17:20:29 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2015-05-27 19:56:04 +00:00
|
|
|
platforms = platforms.unix;
|
2020-06-07 12:07:20 +00:00
|
|
|
maintainers = with maintainers; [ primeos lheckemann ];
|
2011-02-07 23:07:21 +00:00
|
|
|
};
|
|
|
|
}
|