pythonPackages.djangorestframework-simplejwt: init at 4.4.0

This commit is contained in:
Farkas, Arnold 2020-01-21 11:16:02 -05:00 committed by Jon
parent 4d80baf9b8
commit 642134d5ad
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchPypi, django, djangorestframework, pyjwt }:
buildPythonPackage rec {
pname = "djangorestframework_simplejwt";
version = "4.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "c315be70aa12a5f5790c0ab9acd426c3a58eebea65a77d0893248c5144a5080c";
};
propagatedBuildInputs = [ django djangorestframework pyjwt ];
# Test raises django.core.exceptions.ImproperlyConfigured
doCheck = false;
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 ];
};
}

View File

@ -3327,6 +3327,8 @@ in {
djangorestframework-jwt = callPackage ../development/python-modules/djangorestframework-jwt { };
djangorestframework-simplejwt = callPackage ../development/python-modules/djangorestframework-simplejwt { };
django-raster = callPackage ../development/python-modules/django-raster { };
django_redis = callPackage ../development/python-modules/django_redis { };