forked from mirrors/nixpkgs
imapsync: 1.267 to 1.607
This commit is contained in:
parent
da6af8e76f
commit
f36ea29b85
|
@ -1,24 +1,30 @@
|
||||||
{stdenv, fetchurl, perl, openssl, MailIMAPClient}:
|
{stdenv, makeWrapper, fetchurl, perl, openssl, perlPackages }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "imapsync-1.267";
|
name = "imapsync-1.607";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.linux-france.org/prj/imapsync/dist/imapsync-1.267.tgz;
|
url = "https://fedorahosted.org/released/imapsync/${name}.tgz";
|
||||||
sha256 = "0h9np2b4bdfnhn10cqkw66fki26480w0c8m3bxw0p76xkaggywdy";
|
sha256 = "0ajgzsil2fa15c3ky8cvpvfz62ymlpmr0lnwvi8ifffclv7k2hvq";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i -e s@/usr@$out@ Makefile
|
sed -i -e s@/usr@$out@ Makefile
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# Add Mail::IMAPClient to the runtime search path.
|
wrapProgram $out/bin/imapsync --set PERL5LIB $PERL5LIB
|
||||||
substituteInPlace $out/bin/imapsync --replace '/bin/perl' '/bin/perl -I${MailIMAPClient}/lib/perl5/site_perl';
|
|
||||||
'';
|
'';
|
||||||
buildInputs = [perl openssl MailIMAPClient];
|
|
||||||
|
|
||||||
meta = {
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
homepage = "http://www.linux-france.org/prj/imapsync/";
|
|
||||||
|
buildInputs = with perlPackages; [ perl openssl MailIMAPClient TermReadKey
|
||||||
|
IOSocketSSL DigestHMAC URI FileCopyRecursive IOTee UnicodeString ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://www.linux-france.org/prj/imapsync/;
|
||||||
description = "Mail folder synchronizer between IMAP servers";
|
description = "Mail folder synchronizer between IMAP servers";
|
||||||
license = stdenv.lib.licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ pSub ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1923,9 +1923,7 @@ let
|
||||||
|
|
||||||
imapproxy = callPackage ../tools/networking/imapproxy { };
|
imapproxy = callPackage ../tools/networking/imapproxy { };
|
||||||
|
|
||||||
imapsync = callPackage ../tools/networking/imapsync {
|
imapsync = callPackage ../tools/networking/imapsync { };
|
||||||
inherit (perlPackages) MailIMAPClient;
|
|
||||||
};
|
|
||||||
|
|
||||||
imgurbash = callPackage ../tools/graphics/imgurbash { };
|
imgurbash = callPackage ../tools/graphics/imgurbash { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue