mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
python3Packages.flask-jwt-extended: set up optional-dependencies
This commit is contained in:
parent
b4c307de89
commit
d59663577d
1 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue