Merge pull request #24668 from tosmi/davmail

davmail: 4.7.2 -> 4.8.0
This commit is contained in:
Jörg Thalheim 2017-04-13 14:35:56 +02:00 committed by GitHub
commit 9f2ba15647

View File

@ -1,25 +1,27 @@
{ fetchurl, stdenv, jre, glib, libXtst, gtk2, makeWrapper }: { fetchurl, stdenv, jre, glib, libXtst, gtk2, makeWrapper }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "davmail-4.7.2"; name = "davmail-4.8.0";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/davmail/4.7.1/davmail-linux-x86_64-4.7.1-2416.tgz"; url = "mirror://sourceforge/davmail/4.8.0/davmail-linux-x86_64-4.8.0-2479.tgz";
sha256 = "196jr44kksb197biz984z664llf9z3d8rlnjm2iqcmgkjhx1mgy3"; sha256 = "0e650c4a060d64fd2b270ddb00baa906aac617865d5e60c9f526a281cdb27b62";
}; };
buildInputs = [ makeWrapper ]; nativeBuildInputs = [ 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 = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/share/davmail
cp ./* $out/bin/ -R cp -R ./* $out/share/davmail
wrapProgram $out/bin/davmail.sh --prefix PATH : ${jre}/bin --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ glib gtk2 libXtst ]} 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/;
description = "A Java application which presents a Microsoft Exchange server as local CALDAV, IMAP and SMTP servers";
maintainers = [ maintainers.hinton ];
platforms = platforms.all;
license = licenses.gpl2;
};
} }