1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/applications/networking/davmail/default.nix
Jos van den Oever b841e8a201 Update davmail to 2.6.1.
Bugfix release to fix recent regression with Office 365,
also includes a few Linux and IMAP enhancements.
http://sourceforge.net/projects/davmail/files/davmail/4.6.1/releasenotes.txt/download
2015-03-19 19:48:47 +01:00

26 lines
840 B
Nix

{ fetchurl, stdenv, jre, glib, libXtst, gtk, makeWrapper }:
stdenv.mkDerivation rec {
name = "davmail-4.6.1";
src = fetchurl {
url = "mirror://sourceforge/davmail/davmail-linux-x86_64-4.6.1-2343.tgz";
sha256 = "15kpbrmw9pcifxj4k4m3q0azbl95kfgwvgb8bc9aj00q0yi3wgiq";
};
buildInputs = [ makeWrapper ];
meta = {
description = "A Java application which presents a Microsoft Exchange server as local CALDAV, IMAP and SMTP servers";
maintainers = [ stdenv.lib.maintainers.hinton ];
platforms = stdenv.lib.platforms.all;
homepage = "http://davmail.sourceforce.net/";
license = stdenv.lib.licenses.gpl2;
};
installPhase = ''
mkdir -p $out/bin
cp ./* $out/bin/ -R
wrapProgram $out/bin/davmail.sh --prefix PATH : ${jre}/bin --prefix LD_LIBRARY_PATH : ${glib}/lib:${gtk}/lib:${libXtst}/lib
'';
}