mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
892ff1ad20
Bugfix release, detect Exchange throttling to temporarily block requests and a few Carddav fixes. EWS: - EWS: handle Exchange throttling, suspend all requests according to server provided delay - EWS: send DavMailException instead of authentication exception on EWS not available error Enhancements: - 128x128 DavMail icon - Add a new davmail.httpMaxRedirects setting - DAV: add a hidden davmail.disableNTLM setting Carddav: - Carddav: fix another regression on contact create with empty field - Carddav: remove email over EWS unit test - Carddav: fix email address removal over EWS
26 lines
846 B
Nix
26 lines
846 B
Nix
{ fetchurl, stdenv, jre, glib, libXtst, gtk, makeWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "davmail-4.7.2";
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/davmail/4.7.1/davmail-linux-x86_64-4.7.1-2416.tgz";
|
|
sha256 = "196jr44kksb197biz984z664llf9z3d8rlnjm2iqcmgkjhx1mgy3";
|
|
};
|
|
|
|
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 ];
|
|
platforms = stdenv.lib.platforms.all;
|
|
homepage = "http://davmail.sourceforce.net/";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
};
|
|
|
|
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
|
|
'';
|
|
}
|