about summary refs log tree commit diff
path: root/pkgs/development/python-modules/auth0-python
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2021-06-22 23:55:21 +0200
committerGitHub <noreply@github.com>2021-06-22 23:55:21 +0200
commitb607aadaac36e77ff58303d199ae4f77227e41f3 (patch)
tree0ce5a76872bea27ed4a91b272b9972e97c5a2954 /pkgs/development/python-modules/auth0-python
parent32e718341035ef748812b641d6f3e75e216b5d7f (diff)
parent465e5fc8cd73eca36e6bc4a320fdac8bd50bb160 (diff)
Merge branch 'master' into staging-next
Diffstat (limited to 'pkgs/development/python-modules/auth0-python')
-rw-r--r--pkgs/development/python-modules/auth0-python/default.nix16
1 files changed, 7 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/auth0-python/default.nix b/pkgs/development/python-modules/auth0-python/default.nix
index 10ad9c5a30151..67701afc0eb09 100644
--- a/pkgs/development/python-modules/auth0-python/default.nix
+++ b/pkgs/development/python-modules/auth0-python/default.nix
@@ -1,10 +1,10 @@
 { lib
 , buildPythonPackage
 , fetchPypi
-, requests
 , mock
 , pyjwt
 , pytestCheckHook
+, requests
 }:
 
 buildPythonPackage rec {
@@ -13,7 +13,7 @@ buildPythonPackage rec {
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "4a5a709a5d460ddc406783fa567d9baebba94687e2387be6405dba97482d4c93";
+    sha256 = "sha256-Slpwml1GDdxAZ4P6Vn2brrupRofiOHvmQF26l0gtTJM=";
   };
 
   propagatedBuildInputs = [
@@ -23,23 +23,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 ];
   };
 }