2016-09-11 22:24:51 +01:00
|
|
|
{ fetchurl, stdenv, jre, glib, libXtst, gtk2, makeWrapper }:
|
2014-02-19 15:38:44 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-04-06 08:55:57 +01:00
|
|
|
name = "davmail-4.8.0";
|
2014-02-19 15:38:44 +00:00
|
|
|
src = fetchurl {
|
2017-04-06 08:55:57 +01:00
|
|
|
url = "mirror://sourceforge/davmail/4.8.0/davmail-linux-x86_64-4.8.0-2479.tgz";
|
|
|
|
sha256 = "0e650c4a060d64fd2b270ddb00baa906aac617865d5e60c9f526a281cdb27b62";
|
2014-02-19 15:38:44 +00:00
|
|
|
};
|
|
|
|
|
2017-04-13 13:32:48 +01:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
2014-02-19 15:38:44 +00:00
|
|
|
|
2017-04-13 13:32:48 +01:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/davmail
|
|
|
|
cp -R ./* $out/share/davmail
|
|
|
|
makeWrapper $out/share/davmail/davmail.sh $out/bin/davmail \
|
|
|
|
--prefix PATH : ${jre}/bin \
|
|
|
|
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ glib gtk2 libXtst ]}
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://davmail.sourceforce.net/;
|
2014-02-19 15:38:44 +00:00
|
|
|
description = "A Java application which presents a Microsoft Exchange server as local CALDAV, IMAP and SMTP servers";
|
2017-04-13 13:32:48 +01:00
|
|
|
maintainers = [ maintainers.hinton ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.gpl2;
|
2014-02-19 15:38:44 +00:00
|
|
|
};
|
|
|
|
}
|