2020-01-21 16:16:02 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, django, djangorestframework, pyjwt }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "djangorestframework_simplejwt";
|
2021-08-26 20:32:33 +01:00
|
|
|
version = "4.8.0";
|
2020-08-25 03:07:09 +01:00
|
|
|
|
2020-01-21 16:16:02 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-26 20:32:33 +01:00
|
|
|
sha256 = "153c973c5c154baf566be431de8527c2bd62557fde7373ebcb0f02b73b28e07a";
|
2020-01-21 16:16:02 +00:00
|
|
|
};
|
2020-08-25 03:07:09 +01:00
|
|
|
|
2020-01-21 16:16:02 +00:00
|
|
|
propagatedBuildInputs = [ django djangorestframework pyjwt ];
|
2020-08-25 03:07:09 +01:00
|
|
|
|
2020-01-21 16:16:02 +00:00
|
|
|
# Test raises django.core.exceptions.ImproperlyConfigured
|
|
|
|
doCheck = false;
|
2020-08-25 03:07:09 +01:00
|
|
|
|
2020-01-21 16:16:02 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A minimal JSON Web Token authentication plugin for Django REST Framework";
|
|
|
|
homepage = "https://github.com/davesque/django-rest-framework-simplejwt";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.arnoldfarkas ];
|
|
|
|
};
|
|
|
|
}
|