diff --git a/pkgs/development/python-modules/exchangelib/default.nix b/pkgs/development/python-modules/exchangelib/default.nix index 1ca0c2046568..381cb282db99 100644 --- a/pkgs/development/python-modules/exchangelib/default.nix +++ b/pkgs/development/python-modules/exchangelib/default.nix @@ -5,6 +5,7 @@ , defusedxml , dnspython , fetchFromGitHub +, fetchpatch , flake8 , isodate , lxml @@ -38,6 +39,14 @@ buildPythonPackage rec { hash = "sha256-Oarmdc2PuE4kQ/qUqQhuzdTpIrrMFCK72CrVmoSH1DI="; }; + patches = [ + (fetchpatch { + name = "tests-timezones.patch"; + url = "https://github.com/ecederstrand/exchangelib/commit/d5d386f54adec8ab02f871332b89e1176c214ba2.diff"; + hash = "sha256-E3Ys6IDJ/yMsvi+1GKbwckkhbNrc9JLM/+GrPtUz+mY="; + }) + ]; + propagatedBuildInputs = [ cached-property defusedxml