mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +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
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, cryptography
|
||||||
, flask
|
, flask
|
||||||
, pyjwt
|
, pyjwt
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
@ -29,9 +30,14 @@ buildPythonPackage rec {
|
||||||
werkzeug
|
werkzeug
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.optional-dependencies.asymmetric_crypto = [
|
||||||
|
cryptography
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
]
|
||||||
|
++ lib.flatten (lib.attrValues passthru.optional-dependencies);
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"flask_jwt_extended"
|
"flask_jwt_extended"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue