1{ lib
2, buildPythonPackage
3, fetchPypi
4, mock
5, pyjwt
6, pytestCheckHook
7, requests
8}:
9
10buildPythonPackage rec {
11 pname = "auth0-python";
12 version = "3.19.0";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "ed33557f252cf8b022b788ebd2b851c681979f200171498acde2b92d760db026";
17 };
18
19 propagatedBuildInputs = [
20 requests
21 pyjwt
22 ];
23
24 checkInputs = [
25 mock
26 pytestCheckHook
27 ];
28
29 disabledTests = [
30 # tries to ping websites (e.g. google.com)
31 "can_timeout"
32 "test_options_are_created_by_default"
33 "test_options_are_used_and_override"
34 ];
35
36 pythonImportsCheck = [ "auth0" ];
37
38 meta = with lib; {
39 description = "Auth0 Python SDK";
40 homepage = "https://github.com/auth0/auth0-python";
41 license = licenses.mit;
42 maintainers = with maintainers; [ costrouc ];
43 };
44}