20 buildPythonPackage rec {
21 pname = "django-oauth-toolkit";
23 format = "setuptools";
25 src = fetchFromGitHub {
28 rev = "refs/tags/${version}";
29 hash = "sha256-oGg5MD9p4PSUVkt5pGLwjAF4SHHf4Aqr+/3FsuFaybY=";
33 sed -i '/cov/d' tox.ini
36 propagatedBuildInputs = [
43 nativeBuildInputs = [ pythonRelaxDepsHook ];
48 DJANGO_SETTINGS_MODULE = "tests.settings";
50 # xdist is disabled right now because it can cause race conditions on high core machines
51 # https://github.com/jazzband/django-oauth-toolkit/issues/1300
61 # Failed to get a valid response from authentication server. Status code: 404, Reason: Not Found.
62 "test_response_when_auth_server_response_return_404"
66 description = "OAuth2 goodies for the Djangonauts";
67 homepage = "https://github.com/jazzband/django-oauth-toolkit";
68 license = licenses.bsd2;
69 maintainers = with maintainers; [ mmai ];