1{ lib 2, aiohttp 3, aioresponses 4, buildPythonPackage 5, callee 6, fetchPypi 7, mock 8, pyjwt 9, pytestCheckHook 10, pythonOlder 11, requests 12}: 13 14buildPythonPackage rec { 15 pname = "auth0-python"; 16 version = "3.24.0"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 hash = "sha256-iNe86UcjQud/LyX9iwYIGbNVcADjpD4mGM16D+UhLHE="; 24 }; 25 26 propagatedBuildInputs = [ 27 requests 28 pyjwt 29 ] 30 ++ pyjwt.optional-dependencies.crypto; 31 32 checkInputs = [ 33 aiohttp 34 aioresponses 35 callee 36 mock 37 pytestCheckHook 38 ]; 39 40 disabledTests = [ 41 # Tries to ping websites (e.g. google.com) 42 "can_timeout" 43 "test_options_are_created_by_default" 44 "test_options_are_used_and_override" 45 ]; 46 47 pythonImportsCheck = [ 48 "auth0" 49 ]; 50 51 meta = with lib; { 52 description = "Auth0 Python SDK"; 53 homepage = "https://github.com/auth0/auth0-python"; 54 license = licenses.mit; 55 maintainers = with maintainers; [ costrouc ]; 56 }; 57}