python310Packages.djangorestframework-simplejwt: add optional-dependencies

This commit is contained in:
Fabian Affolter 2023-08-28 09:28:55 +02:00 committed by GitHub
parent b516af56c1
commit c467dd643a
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
@ -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;