Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 75 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576{ lib, aiohttp, aioresponses, buildPythonPackage, callee, cryptography, fetchFromGitHub, mock, poetry-core, poetry-dynamic-versioning, pyjwt, pyopenssl, pytestCheckHook, pythonOlder, requests, urllib3,}:
buildPythonPackage rec { pname = "auth0-python"; version = "4.10.0"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "auth0"; repo = "auth0-python"; tag = version; hash = "sha256-qQbZBuwn2P2ocDjwGeVR7z7rKNHud/gfzNItiliW1P8="; };
nativeBuildInputs = [ poetry-core poetry-dynamic-versioning ];
propagatedBuildInputs = [ aiohttp cryptography pyjwt pyopenssl requests urllib3 ] ++ pyjwt.optional-dependencies.crypto;
nativeCheckInputs = [ aiohttp aioresponses callee mock pytestCheckHook ];
pythonRelaxDeps = [ "cryptography" ];
disabledTests = [ # Tries to ping websites (e.g. google.com) "can_timeout" "test_options_are_created_by_default" "test_options_are_used_and_override" ];
pythonImportsCheck = [ "auth0" ];
meta = with lib; { description = "Auth0 Python SDK"; homepage = "https://github.com/auth0/auth0-python"; changelog = "https://github.com/auth0/auth0-python/blob/${src.tag}/CHANGELOG.md"; license = licenses.mit; maintainers = [ ]; };}