Unverified Commit c467dd64 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python310Packages.djangorestframework-simplejwt: add optional-dependencies

parent b516af56
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, cryptography
, django
, djangorestframework
, fetchPypi
@@ -30,8 +31,16 @@ buildPythonPackage rec {
    django
    djangorestframework
    pyjwt
  ];

  passthru.optional-dependencies = {
    python-jose = [
      python-jose
    ];
    crypto = [
      cryptography
    ];
  };

  # Test raises django.core.exceptions.ImproperlyConfigured
  doCheck = false;