9 stdenv.mkDerivation rec {
13 src = fetchFromGitHub {
16 rev = "imapsync-${version}";
17 sha256 = "sha256-nlNePOV3Y0atEPSRByRo3dHj/WjIaefEDeWdMKTo4gc=";
21 sed -i -e s@/usr@$out@ Makefile
22 substituteInPlace INSTALL.d/prerequisites_imapsync --replace "PAR::Packer" ""
26 wrapProgram $out/bin/imapsync --set PERL5LIB $PERL5LIB
29 nativeBuildInputs = [ makeWrapper ];
31 buildInputs = with perlPackages; [
66 description = "Mail folder synchronizer between IMAP servers";
67 mainProgram = "imapsync";
68 homepage = "https://imapsync.lamiral.info/";
69 license = licenses.nlpl;
70 maintainers = with maintainers; [ pSub ];
71 platforms = platforms.unix;