biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / auth0-python / default.nix
blob3958abba6de3e904832309a4a04d29f40e258d77
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   pythonOlder,
16   requests,
17   urllib3,
20 buildPythonPackage rec {
21   pname = "auth0-python";
22   version = "4.7.2";
23   pyproject = true;
25   disabled = pythonOlder "3.8";
27   src = fetchFromGitHub {
28     owner = "auth0";
29     repo = "auth0-python";
30     rev = "refs/tags/${version}";
31     hash = "sha256-g6sbxPglKDGbDMiB9crnua86y6TPIbLiFddeymrLAP0=";
32   };
34   nativeBuildInputs = [
35     poetry-core
36     poetry-dynamic-versioning
37   ];
39   propagatedBuildInputs = [
40     aiohttp
41     cryptography
42     pyjwt
43     pyopenssl
44     requests
45     urllib3
46   ] ++ pyjwt.optional-dependencies.crypto;
48   nativeCheckInputs = [
49     aiohttp
50     aioresponses
51     callee
52     mock
53     pytestCheckHook
54   ];
56   pythonRelaxDeps = [ "cryptography" ];
58   disabledTests = [
59     # Tries to ping websites (e.g. google.com)
60     "can_timeout"
61     "test_options_are_created_by_default"
62     "test_options_are_used_and_override"
63   ];
65   pythonImportsCheck = [ "auth0" ];
67   meta = with lib; {
68     description = "Auth0 Python SDK";
69     homepage = "https://github.com/auth0/auth0-python";
70     changelog = "https://github.com/auth0/auth0-python/blob/${version}/CHANGELOG.md";
71     license = licenses.mit;
72     maintainers = [ ];
73   };