Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5, mock 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "auth0-python"; 11 version = "3.12.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "fbc54a231ca787ae0917223028269582abbd963cfa9d53ba822a601dd9cd2215"; 16 }; 17 18 propagatedBuildInputs = [ 19 requests 20 ]; 21 22 checkInputs = [ 23 mock 24 pytestCheckHook 25 ]; 26 27 pytestFlagsArray = [ 28 # jwt package is not available in nixpkgs 29 "--ignore=auth0/v3/test/authentication/test_token_verifier.py" 30 ]; 31 32 # tries to ping websites (e.g. google.com) 33 disabledTests = [ 34 "can_timeout" 35 ]; 36 37 meta = with lib; { 38 description = "Auth0 Python SDK"; 39 homepage = "https://github.com/auth0/auth0-python"; 40 license = licenses.mit; 41 maintainers = [ maintainers.costrouc ]; 42 }; 43}