2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, perl
|
2021-02-05 17:12:51 +00:00
|
|
|
, openssl, db, cyrus_sasl, zlib
|
|
|
|
, Security
|
2020-05-15 21:57:56 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-05-15 21:57:56 +00:00
|
|
|
pname = "isync";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "1.4.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-05-15 21:57:56 +00:00
|
|
|
url = "mirror://sourceforge/isync/${pname}-${version}.tar.gz";
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "0pkqvsdmi85xrhzzc7mz87vdvvvp01lf8akhfdnmsdlks8zbzy44";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config perl ];
|
2021-02-05 17:12:51 +00:00
|
|
|
buildInputs = [ openssl db cyrus_sasl zlib ]
|
|
|
|
++ lib.optionals stdenv.isDarwin [ Security ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://isync.sourceforge.net/";
|
2020-05-15 21:57:56 +00:00
|
|
|
# https://sourceforge.net/projects/isync/
|
|
|
|
changelog = "https://sourceforge.net/p/isync/isync/ci/v${version}/tree/NEWS";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Free IMAP and MailDir mailbox synchronizer";
|
2020-05-15 21:57:56 +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.
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
2020-06-18 07:06:33 +00:00
|
|
|
maintainers = with maintainers; [ primeos lheckemann ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|