python310Packages.djangorestframework-simplejwt: add optional-dependencies
This commit is contained in:
parent
b516af56c1
commit
c467dd643a
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue