2020-01-21 17:16:02 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, django, djangorestframework, pyjwt }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "djangorestframework_simplejwt";
|
2021-06-18 23:47:14 +02:00
|
|
|
version = "4.7.1";
|
2020-08-25 04:07:09 +02:00
|
|
|
|
2020-01-21 17:16:02 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 23:47:14 +02:00
|
|
|
sha256 = "c0e9b617da337becb55e67935eb992fad84f861418e7ab5fb3e77a3fd18d4137";
|
2020-01-21 17:16:02 +01:00
|
|
|
};
|
2020-08-25 04:07:09 +02:00
|
|
|
|
2020-01-21 17:16:02 +01:00
|
|
|
propagatedBuildInputs = [ django djangorestframework pyjwt ];
|
2020-08-25 04:07:09 +02:00
|
|
|
|
2020-01-21 17:16:02 +01:00
|
|
|
# Test raises django.core.exceptions.ImproperlyConfigured
|
|
|
|
doCheck = false;
|
2020-08-25 04:07:09 +02:00
|
|
|
|
2020-01-21 17:16:02 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|