2014-02-19 15:38:44 +00:00
|
|
|
{ fetchurl, stdenv, jre, glib, libXtst, gtk, makeWrapper }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-06-23 23:04:38 +01:00
|
|
|
name = "davmail-4.7.2";
|
2014-02-19 15:38:44 +00:00
|
|
|
src = fetchurl {
|
2016-02-01 20:11:59 +00:00
|
|
|
url = "mirror://sourceforge/davmail/4.7.1/davmail-linux-x86_64-4.7.1-2416.tgz";
|
2016-06-23 23:04:38 +01:00
|
|
|
sha256 = "196jr44kksb197biz984z664llf9z3d8rlnjm2iqcmgkjhx1mgy3";
|
2014-02-19 15:38:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
2014-02-20 22:12:54 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
homepage = "http://davmail.sourceforce.net/";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-02-19 15:38:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
}
|