30 buildPythonPackage rec {
31 pname = "exchangelib";
35 disabled = pythonOlder "3.8";
37 src = fetchFromGitHub {
38 owner = "ecederstrand";
40 rev = "refs/tags/v${version}";
41 hash = "sha256-SX5F0OXKdxA2HoDwvCe4M7RftdjUEdQuFbxRyuABC4E=";
44 pythonRelaxDeps = [ "defusedxml" ];
46 build-system = [ setuptools ];
62 ] ++ lib.optionals (pythonOlder "3.9") [ backports-zoneinfo ];
64 optional-dependencies = {
67 # requests-negotiate-sspi
69 kerberos = [ requests-gssapi ];
71 # requests-negotiate-sspi
84 pythonImportsCheck = [ "exchangelib" ];
87 description = "Client for Microsoft Exchange Web Services (EWS)";
88 homepage = "https://github.com/ecederstrand/exchangelib";
89 changelog = "https://github.com/ecederstrand/exchangelib/blob/v${version}/CHANGELOG.md";
90 license = licenses.bsd2;
91 maintainers = with maintainers; [ catern ];