8 buildPythonPackage rec {
12 src = fetchFromGitHub {
13 owner = "Styria-Digital";
14 repo = "django-rest-framework-jwt";
16 hash = "sha256-bbkk78uYTG+JTzY3AyOmEVtVSgout/TETfr5N5fUto4=";
19 propagatedBuildInputs = [
23 ++ pyjwt.optional-dependencies.crypto;
25 # requires setting up a django instance
28 pythonImportsCheck = [
30 "rest_framework_jwt.blacklist"
31 # require setting DJANGO_SETTINGS_MODULE
32 # "rest_framework_jwt.authentication"
33 # "rest_framework_jwt.blacklist.views"
34 # "rest_framework_jwt.settings"
35 # "rest_framework_jwt.utils"
36 # "rest_framework_jwt.views"
40 description = "JSON Web Token based authentication for Django REST framework";
41 homepage = "https://github.com/Styria-Digital/django-rest-framework-jwt";
42 license = licenses.mit;
43 maintainers = with maintainers; [ dotlambda ];