diff --git a/pkgs/development/python-modules/auth0-python/default.nix b/pkgs/development/python-modules/auth0-python/default.nix index 79844afe318e..81aee196a3b7 100644 --- a/pkgs/development/python-modules/auth0-python/default.nix +++ b/pkgs/development/python-modules/auth0-python/default.nix @@ -1,18 +1,19 @@ { lib , buildPythonPackage , fetchPypi -, requests , mock +, pyjwt , pytestCheckHook +, requests }: buildPythonPackage rec { pname = "auth0-python"; - version = "3.14.0"; + version = "3.16.2"; src = fetchPypi { inherit pname version; - sha256 = "ac7808d00676c5e7ffa9eaa228807ca1f8db7a0f4dc115337c80fb6d7eb2b50a"; + sha256 = "sha256-Slpwml1GDdxAZ4P6Vn2brrupRofiOHvmQF26l0gtTJM="; }; propagatedBuildInputs = [ @@ -21,23 +22,21 @@ buildPythonPackage rec { checkInputs = [ mock + pyjwt pytestCheckHook ]; - pytestFlagsArray = [ - # jwt package is not available in nixpkgs - "--ignore=auth0/v3/test/authentication/test_token_verifier.py" - ]; - - # tries to ping websites (e.g. google.com) disabledTests = [ + # tries to ping websites (e.g. google.com) "can_timeout" ]; + pythonImportsCheck = [ "auth0" ]; + meta = with lib; { description = "Auth0 Python SDK"; homepage = "https://github.com/auth0/auth0-python"; license = licenses.mit; - maintainers = [ maintainers.costrouc ]; + maintainers = with maintainers; [ costrouc ]; }; }