diff --git a/pkgs/applications/networking/davmail/default.nix b/pkgs/applications/networking/davmail/default.nix index b491f287e701..31493e46f538 100644 --- a/pkgs/applications/networking/davmail/default.nix +++ b/pkgs/applications/networking/davmail/default.nix @@ -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 ]}