mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
python39Packages.flask: fix build & add SuperSandro2000 as maintainer
This commit is contained in:
parent
1a80cfa025
commit
544c77ba0f
@ -3,12 +3,13 @@
|
|||||||
, fetchPypi
|
, fetchPypi
|
||||||
, asgiref
|
, asgiref
|
||||||
, click
|
, click
|
||||||
|
, importlib-metadata
|
||||||
, itsdangerous
|
, itsdangerous
|
||||||
, jinja2
|
, jinja2
|
||||||
, python-dotenv
|
, python-dotenv
|
||||||
, werkzeug
|
, werkzeug
|
||||||
, setuptools
|
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -27,11 +28,7 @@ buildPythonPackage rec {
|
|||||||
itsdangerous
|
itsdangerous
|
||||||
jinja2
|
jinja2
|
||||||
werkzeug
|
werkzeug
|
||||||
|
] ++ lib.optional (pythonOlder "3.10") importlib-metadata;
|
||||||
# required for CLI subcommand autodiscovery
|
|
||||||
# see: https://github.com/pallets/flask/blob/fdac8a5404e3e3a316568107a293f134707c75bb/src/flask/cli.py#L498
|
|
||||||
setuptools
|
|
||||||
];
|
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
@ -48,5 +45,6 @@ buildPythonPackage rec {
|
|||||||
Python web application frameworks.
|
Python web application frameworks.
|
||||||
'';
|
'';
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user