fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{stdenv, makeWrapper, fetchurl, perl, openssl, perlPackages }:
2
3stdenv.mkDerivation rec {
4 name = "imapsync-1.644";
5 src = fetchurl {
6 url = "https://fedorahosted.org/released/imapsync/${name}.tgz";
7 sha256 = "1lni950qyp841277dnzb43pxpzqyfcl6sachd8j6a0j08826gfky";
8 };
9
10 patchPhase = ''
11 sed -i -e s@/usr@$out@ Makefile
12 '';
13
14 postInstall = ''
15 wrapProgram $out/bin/imapsync --set PERL5LIB $PERL5LIB
16 '';
17
18 nativeBuildInputs = [ makeWrapper ];
19
20 buildInputs = with perlPackages; [ perl openssl MailIMAPClient TermReadKey
21 IOSocketSSL DigestHMAC URI FileCopyRecursive IOTee UnicodeString ];
22
23 meta = with stdenv.lib; {
24 homepage = http://www.linux-france.org/prj/imapsync/;
25 description = "Mail folder synchronizer between IMAP servers";
26 license = licenses.gpl2Plus;
27 platforms = platforms.linux;
28 maintainers = with maintainers; [ pSub ];
29 };
30}