1{ lib, buildPythonPackage, fetchPypi, django, djangorestframework, pyjwt }:
2
3buildPythonPackage rec {
4 pname = "djangorestframework_simplejwt";
5 version = "4.4.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "c315be70aa12a5f5790c0ab9acd426c3a58eebea65a77d0893248c5144a5080c";
10 };
11
12 propagatedBuildInputs = [ django djangorestframework pyjwt ];
13
14 # Test raises django.core.exceptions.ImproperlyConfigured
15 doCheck = false;
16
17 meta = with lib; {
18 description = "A minimal JSON Web Token authentication plugin for Django REST Framework";
19 homepage = "https://github.com/davesque/django-rest-framework-simplejwt";
20 license = licenses.mit;
21 maintainers = [ maintainers.arnoldfarkas ];
22 };
23}