nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

pythonPackages.exchangelib: 1.12.2 -> 3.2.1

Also marks the package as no longer broken.

Obsoletes PR #95313

authored by

Spencer Baugh and committed by
Jon
00c48082 48dfc9fa

+14 -9
+14 -9
pkgs/development/python-modules/exchangelib/default.nix
··· 1 1 { stdenv, fetchFromGitHub, buildPythonPackage, 2 - lxml, tzlocal, python-dateutil, pygments, future, requests-kerberos, 2 + pythonOlder, 3 + lxml, tzlocal, python-dateutil, pygments, requests-kerberos, 3 4 defusedxml, cached-property, isodate, requests_ntlm, dnspython, 4 - psutil, requests-mock, pyyaml 5 + psutil, requests-mock, pyyaml, 6 + oauthlib, requests_oauthlib, 7 + flake8, 5 8 }: 6 9 7 10 buildPythonPackage rec { 8 11 pname = "exchangelib"; 9 - version = "1.12.2"; 12 + version = "3.2.1"; 13 + disabled = pythonOlder "3.5"; 10 14 11 15 # tests are not present in the PyPI version 12 16 src = fetchFromGitHub { 13 17 owner = "ecederstrand"; 14 18 repo = pname; 15 19 rev = "v${version}"; 16 - sha256 = "1p24fq6f46j0qd0ccb64mncxbnm2n9w0sqpl4zk113caaaxkpjil"; 20 + sha256 = "1sh780q2iwdm3bnlnfdacracf0n7jhbv0g39cdx65v3d510zp4jv"; 17 21 }; 18 22 19 - # one test is failing due to it trying to send a request to example.com 20 - patches = [ ./skip_failing_test.patch ]; 21 - checkInputs = [ psutil requests-mock pyyaml ]; 23 + checkInputs = [ psutil requests-mock pyyaml 24 + flake8 25 + ]; 22 26 propagatedBuildInputs = [ 23 27 lxml tzlocal python-dateutil pygments requests-kerberos 24 - future defusedxml cached-property isodate requests_ntlm dnspython ]; 28 + defusedxml cached-property isodate requests_ntlm dnspython 29 + oauthlib requests_oauthlib 30 + ]; 25 31 26 32 meta = with stdenv.lib; { 27 33 description = "Client for Microsoft Exchange Web Services (EWS)"; 28 34 homepage = "https://github.com/ecederstrand/exchangelib"; 29 35 license = licenses.bsd2; 30 36 maintainers = with maintainers; [ catern ]; 31 - broken = true; 32 37 }; 33 38 }