diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2023-08-28 16:44:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-28 16:44:51 +0200 |
commit | d1d57f39aa1f41d6c45ec256a81ee3a8f05acb7e (patch) | |
tree | 8d4f6dfbd209c8b2946418ad9ad8be4b3a2e39a3 | |
parent | 505dccf65eb04732c96f07a8f1231fe81613ce9b (diff) | |
parent | c467dd643a64ffdbc59c347769d013959985ae0f (diff) |
Merge pull request #251901 from r-ryantm/auto-update/python310Packages.djangorestframework-simplejwt
python310Packages.djangorestframework-simplejwt: 5.2.2 -> 5.3.0
-rw-r--r-- | pkgs/development/python-modules/djangorestframework-simplejwt/default.nix | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix b/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix index 8e26e9c6e4efc..cb5c3478d9100 100644 --- a/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix +++ b/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix @@ -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 ]; }; |