python3Packages.flask-jwt-extended: set up optional-dependencies
This commit is contained in:
parent
b4c307de89
commit
d59663577d
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, cryptography
|
||||
, flask
|
||||
, pyjwt
|
||||
, pytestCheckHook
|
||||
@ -29,9 +30,14 @@ buildPythonPackage rec {
|
||||
werkzeug
|
||||
];
|
||||
|
||||
passthru.optional-dependencies.asymmetric_crypto = [
|
||||
cryptography
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
]
|
||||
++ lib.flatten (lib.attrValues passthru.optional-dependencies);
|
||||
|
||||
pythonImportsCheck = [
|
||||
"flask_jwt_extended"
|
||||
|
Loading…
Reference in New Issue
Block a user