summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pytest-flask/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pytest-flask/default.nix')
-rw-r--r--pkgs/development/python-modules/pytest-flask/default.nix41
1 files changed, 16 insertions, 25 deletions
diff --git a/pkgs/development/python-modules/pytest-flask/default.nix b/pkgs/development/python-modules/pytest-flask/default.nix
index 428e0c5c3e01..0076502ff878 100644
--- a/pkgs/development/python-modules/pytest-flask/default.nix
+++ b/pkgs/development/python-modules/pytest-flask/default.nix
@@ -1,13 +1,14 @@
-{ lib
-, stdenv
-, buildPythonPackage
-, fetchPypi
-, flask
-, pytest
-, pytestCheckHook
-, pythonOlder
-, setuptools-scm
-, werkzeug
+{
+ lib,
+ stdenv,
+ buildPythonPackage,
+ fetchPypi,
+ flask,
+ pytest,
+ pytestCheckHook,
+ pythonOlder,
+ setuptools-scm,
+ werkzeug,
}:
buildPythonPackage rec {
@@ -22,30 +23,20 @@ buildPythonPackage rec {
hash = "sha256-WL4cl7Ibo8TUfgp2ketBAHdIUGw2v1EAT3jfEGkfqV4=";
};
- nativeBuildInputs = [
- setuptools-scm
- ];
+ nativeBuildInputs = [ setuptools-scm ];
- buildInputs = [
- pytest
- ];
+ buildInputs = [ pytest ];
propagatedBuildInputs = [
flask
werkzeug
];
- nativeCheckInputs = [
- pytestCheckHook
- ];
+ nativeCheckInputs = [ pytestCheckHook ];
- pythonImportsCheck = [
- "pytest_flask"
- ];
+ pythonImportsCheck = [ "pytest_flask" ];
- pytestFlagsArray = lib.optionals stdenv.isDarwin [
- "--ignore=tests/test_live_server.py"
- ];
+ pytestFlagsArray = lib.optionals stdenv.isDarwin [ "--ignore=tests/test_live_server.py" ];
meta = with lib; {
description = "A set of pytest fixtures to test Flask applications";