diff --git a/pkgs/development/python-modules/pytest-instafail/default.nix b/pkgs/development/python-modules/pytest-instafail/default.nix index 69b9a8b17c8e..256c3c582a29 100644 --- a/pkgs/development/python-modules/pytest-instafail/default.nix +++ b/pkgs/development/python-modules/pytest-instafail/default.nix @@ -1,6 +1,7 @@ -{ buildPythonPackage +{ lib +, buildPythonPackage , fetchPypi -, lib +, pytest , pytestCheckHook }: @@ -13,8 +14,17 @@ buildPythonPackage rec { sha256 = "sha256-M6YG9+DI5kbcO/7g1eOkt7eO98NhaM+h89k698pwbJ4="; }; - nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ "pytest_instafail" ]; + buildInputs = [ + pytest + ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "pytest_instafail" + ]; meta = with lib; { description = "pytest plugin that shows failures and errors instantly instead of waiting until the end of test session";