aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/auth0-python/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/auth0-python/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/auth0-python/default.nix16
1 files changed, 14 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/auth0-python/default.nix b/nixpkgs/pkgs/development/python-modules/auth0-python/default.nix
index 4efe1f50ef2..1b50e70aaee 100644
--- a/nixpkgs/pkgs/development/python-modules/auth0-python/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/auth0-python/default.nix
@@ -3,15 +3,16 @@
, fetchPypi
, requests
, mock
+, pytestCheckHook
}:
buildPythonPackage rec {
pname = "auth0-python";
- version = "3.9.2";
+ version = "3.12.0";
src = fetchPypi {
inherit pname version;
- sha256 = "12870b4806095b707c4eed7bf8cdfeb3722d990366bc6a9772d1520e90efa73b";
+ sha256 = "fbc54a231ca787ae0917223028269582abbd963cfa9d53ba822a601dd9cd2215";
};
propagatedBuildInputs = [
@@ -20,6 +21,17 @@ buildPythonPackage rec {
checkInputs = [
mock
+ 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 = [
+ "can_timeout"
];
meta = with lib; {