davmail: 4.8.0 -> 4.8.6 (#45584)

This commit is contained in:
David Guibert 2018-08-24 19:04:37 +02:00 committed by xeji
parent 030cf55923
commit 64a9aa32ae

View File

@ -1,17 +1,19 @@
{ fetchurl, stdenv, jre, glib, libXtst, gtk2, makeWrapper }:
{ fetchurl, stdenv, jre, glib, libXtst, gtk2, makeWrapper, unzip }:
stdenv.mkDerivation rec {
name = "davmail-4.8.0";
name = "davmail-4.8.6";
src = fetchurl {
url = "mirror://sourceforge/davmail/4.8.0/davmail-linux-x86_64-4.8.0-2479.tgz";
sha256 = "0e650c4a060d64fd2b270ddb00baa906aac617865d5e60c9f526a281cdb27b62";
url = "mirror://sourceforge/davmail/4.8.6/davmail-4.8.6-2600.zip";
sha256 = "1wk4jxb46qlyipxj57flqadgm4mih243rhqq9sp9m5pifjqrw9dp";
};
nativeBuildInputs = [ makeWrapper ];
sourceRoot = ".";
nativeBuildInputs = [ makeWrapper unzip ];
installPhase = ''
mkdir -p $out/share/davmail
cp -R ./* $out/share/davmail
cp -vR ./* $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 ]}