Merge pull request #251901 from r-ryantm/auto-update/python310Packages.djangorestframework-simplejwt

python310Packages.djangorestframework-simplejwt: 5.2.2 -> 5.3.0
This commit is contained in:
Fabian Affolter 2023-08-28 16:44:51 +02:00 committed by GitHub
commit d1d57f39aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
{ lib
, buildPythonPackage
, cryptography
, django
, djangorestframework
, fetchPypi
@ -11,7 +12,7 @@
buildPythonPackage rec {
pname = "djangorestframework-simplejwt";
version = "5.2.2";
version = "5.3.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -19,7 +20,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "djangorestframework_simplejwt";
inherit version;
hash = "sha256-0n1LysLGOU9njeqLTQ1RHG4Yp/Lriq7rin3mAa63fEI=";
hash = "sha256-jkxd/KjRHAuKZt/YpOP8HGqn6hiNEJB/+RyUL0tS7WY=";
};
nativeBuildInputs = [
@ -30,9 +31,17 @@ buildPythonPackage rec {
django
djangorestframework
pyjwt
python-jose
];
passthru.optional-dependencies = {
python-jose = [
python-jose
];
crypto = [
cryptography
];
};
# Test raises django.core.exceptions.ImproperlyConfigured
doCheck = false;
@ -43,6 +52,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "JSON Web Token authentication plugin for Django REST Framework";
homepage = "https://github.com/davesque/django-rest-framework-simplejwt";
changelog = "https://github.com/jazzband/djangorestframework-simplejwt/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ arnoldfarkas ];
};