1{ lib 2, buildPythonPackage 3, django 4, djangorestframework 5, fetchPypi 6, pyjwt 7, python-jose 8, setuptools-scm 9}: 10 11buildPythonPackage rec { 12 pname = "djangorestframework-simplejwt"; 13 version = "4.8.0"; 14 15 src = fetchPypi { 16 pname = "djangorestframework_simplejwt"; 17 inherit version; 18 sha256 = "153c973c5c154baf566be431de8527c2bd62557fde7373ebcb0f02b73b28e07a"; 19 }; 20 21 nativeBuildInputs = [ 22 setuptools-scm 23 ]; 24 25 propagatedBuildInputs = [ 26 django 27 djangorestframework 28 pyjwt 29 python-jose 30 ]; 31 32 # Test raises django.core.exceptions.ImproperlyConfigured 33 doCheck = false; 34 35 pythonImportsCheck = [ 36 "rest_framework_simplejwt" 37 ]; 38 39 meta = with lib; { 40 description = "JSON Web Token authentication plugin for Django REST Framework"; 41 homepage = "https://github.com/davesque/django-rest-framework-simplejwt"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ arnoldfarkas ]; 44 }; 45}