summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/auth0-python
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-06-22 09:34:46 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2021-06-22 09:34:46 +0200
commitf17a6ff223bf1215fc7e84efd9aba9b604b1cdc4 (patch)
treebe3a1ba0ad3bbffa6eea5467aac9ec37ba2f1631 /pkgs/development/python-modules/auth0-python
parent203e81e4ee5a522c43352df6be645c7929a0b6c2 (diff)
python3Packages.auth0-python: 3.14.0 -> 3.16.2
Diffstat (limited to 'pkgs/development/python-modules/auth0-python')
-rw-r--r--pkgs/development/python-modules/auth0-python/default.nix19
1 files changed, 9 insertions, 10 deletions
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 ];
};
}