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 11:48:12 +01:00
|
|
|
}:
|
2011-02-07 23:07:21 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-05-10 11:48:12 +01:00
|
|
|
pname = "isync";
|
2021-12-03 12:58:59 +00:00
|
|
|
version = "1.4.4";
|
2011-02-07 23:07:21 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-05-10 11:48:12 +01:00
|
|
|
url = "mirror://sourceforge/isync/${pname}-${version}.tar.gz";
|
2021-12-03 12:58:59 +00:00
|
|
|
sha256 = "1zq0wwvmqsl9y71546dr0aygzn9gjjfiw19hlcq87s929y4p6ckw";
|
2011-02-07 23:07:21 +00:00
|
|
|
};
|
|
|
|
|
2020-05-10 11:48:12 +01: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 02:11:51 +01:00
|
|
|
homepage = "http://isync.sourceforge.net/";
|
2020-05-10 11:48:12 +01: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 11:48:12 +01: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 18:20:29 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2015-05-27 20:56:04 +01:00
|
|
|
platforms = platforms.unix;
|
2020-06-07 13:07:20 +01:00
|
|
|
maintainers = with maintainers; [ primeos lheckemann ];
|
2011-02-07 23:07:21 +00:00
|
|
|
};
|
|
|
|
}
|