1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/networking/imapsync/default.nix

35 lines
1 KiB
Nix
Raw Normal View History

2015-09-08 14:36:41 +01:00
{stdenv, makeWrapper, fetchurl, perl, openssl, perlPackages }:
stdenv.mkDerivation rec {
2017-05-29 11:19:29 +01:00
name = "imapsync-1.727";
src = fetchurl {
2017-05-29 11:19:29 +01:00
url = "https://releases.pagure.org/imapsync/${name}.tgz";
sha256 = "1axacjw2wyaphczfw3kfmi5cl83fyr8nb207nks40fxkbs8q5dlr";
};
2015-09-08 14:36:41 +01:00
patchPhase = ''
sed -i -e s@/usr@$out@ Makefile
'';
postInstall = ''
2015-09-08 14:36:41 +01:00
wrapProgram $out/bin/imapsync --set PERL5LIB $PERL5LIB
'';
2015-09-08 14:36:41 +01:00
nativeBuildInputs = [ makeWrapper ];
buildInputs = with perlPackages; [ perl openssl MailIMAPClient TermReadKey
2016-03-26 17:55:16 +00:00
IOSocketSSL DigestHMAC URI FileCopyRecursive IOTee UnicodeString
DataUniqid JSONWebToken TestMockGuard LWP CryptOpenSSLRSA
2017-05-29 11:19:29 +01:00
LWPProtocolHttps Readonly TestPod TestMockObject ParseRecDescent
IOSocketInet6 NTLM
2016-03-26 17:55:16 +00:00
];
2015-09-08 14:36:41 +01:00
meta = with stdenv.lib; {
homepage = http://www.linux-france.org/prj/imapsync/;
description = "Mail folder synchronizer between IMAP servers";
2015-09-08 14:36:41 +01:00
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}