Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 43 lines 812 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5, mock 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "auth0-python"; 11 version = "3.14.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "ac7808d00676c5e7ffa9eaa228807ca1f8db7a0f4dc115337c80fb6d7eb2b50a"; 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}