From 9a89bf966930abf3e05139332b039f6e9dbc34ca Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 17 Mar 2023 04:20:00 +0000 Subject: [PATCH] python310Packages.pytest-twisted: 1.13.2 -> 1.14.0 --- .../python-modules/pytest-twisted/default.nix | 26 +++++++++++++++---- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/pytest-twisted/default.nix b/pkgs/development/python-modules/pytest-twisted/default.nix index 789af6769415..198d21083e27 100644 --- a/pkgs/development/python-modules/pytest-twisted/default.nix +++ b/pkgs/development/python-modules/pytest-twisted/default.nix @@ -4,21 +4,37 @@ , greenlet , pytest , decorator +, twisted +, pytestCheckHook }: buildPythonPackage rec { pname = "pytest-twisted"; - version = "1.13.2"; + version = "1.14.0"; + format = "setuptools"; src = fetchPypi { inherit pname version; - extension = "zip"; - sha256 = "cee2320becc5625050ab221b8f38533e636651a24644612f4726891fdf1f1847"; + sha256 = "sha256-IJv1pkUs+/th3o8BWQLBTsgSZACRFQcHS7LuTOjf4xM="; }; - buildInputs = [ pytest ]; + buildInputs = [ + pytest + ]; - propagatedBuildInputs = [ greenlet decorator ]; + propagatedBuildInputs = [ + decorator + greenlet + ]; + + nativeCheckInputs = [ + pytestCheckHook + twisted + ]; + + pythonImportsCheck = [ + "pytest_twisted" + ]; meta = with lib; { description = "A twisted plugin for py.test";