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