diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2023-08-28 09:28:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-28 09:28:55 +0200 |
commit | c467dd643a64ffdbc59c347769d013959985ae0f (patch) | |
tree | 4c1504c2e9d5ab7c880ba4eb46f86ccb2eb58565 /pkgs | |
parent | b516af56c13c1d97e8bef2aaed78aaf035d7bc2c (diff) |
python310Packages.djangorestframework-simplejwt: add optional-dependencies
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/djangorestframework-simplejwt/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix b/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix index 523d15d8c0253..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 @@ -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; |