nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 72 lines 1.3 kB view raw
1{ 2 lib, 3 aiohttp, 4 aioresponses, 5 buildPythonPackage, 6 callee, 7 cryptography, 8 fetchFromGitHub, 9 mock, 10 poetry-core, 11 poetry-dynamic-versioning, 12 pyjwt, 13 pyopenssl, 14 pytestCheckHook, 15 requests, 16 urllib3, 17}: 18 19buildPythonPackage rec { 20 pname = "auth0-python"; 21 version = "4.13.0"; 22 pyproject = true; 23 24 src = fetchFromGitHub { 25 owner = "auth0"; 26 repo = "auth0-python"; 27 tag = version; 28 hash = "sha256-+3c4fj2lv+HFhl3bJ1p1qPq602AG4oMecqE+FMpvjhI="; 29 }; 30 31 nativeBuildInputs = [ 32 poetry-core 33 poetry-dynamic-versioning 34 ]; 35 36 propagatedBuildInputs = [ 37 aiohttp 38 cryptography 39 pyjwt 40 pyopenssl 41 requests 42 urllib3 43 ] 44 ++ pyjwt.optional-dependencies.crypto; 45 46 nativeCheckInputs = [ 47 aiohttp 48 aioresponses 49 callee 50 mock 51 pytestCheckHook 52 ]; 53 54 pythonRelaxDeps = [ "cryptography" ]; 55 56 disabledTests = [ 57 # Tries to ping websites (e.g. google.com) 58 "can_timeout" 59 "test_options_are_created_by_default" 60 "test_options_are_used_and_override" 61 ]; 62 63 pythonImportsCheck = [ "auth0" ]; 64 65 meta = { 66 description = "Auth0 Python SDK"; 67 homepage = "https://github.com/auth0/auth0-python"; 68 changelog = "https://github.com/auth0/auth0-python/blob/${src.tag}/CHANGELOG.md"; 69 license = lib.licenses.mit; 70 maintainers = [ ]; 71 }; 72}