From ec40c45390e9bfb0a1fb04e25a9dd7d0d8abe7ce Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Mar 2023 22:17:25 +0100 Subject: [PATCH] python310Packages.ismartgate: remove asynctest --- .../python-modules/ismartgate/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/ismartgate/default.nix b/pkgs/development/python-modules/ismartgate/default.nix index ffac2f80d4cd..fd1d81014c82 100644 --- a/pkgs/development/python-modules/ismartgate/default.nix +++ b/pkgs/development/python-modules/ismartgate/default.nix @@ -1,5 +1,4 @@ { lib -, asynctest , buildPythonPackage , click , defusedxml @@ -29,6 +28,11 @@ buildPythonPackage rec { hash = "sha256-o2yzMxrF0WB6MbeL1Tuf0Sq4wS4FDIWZZx1x2rvwLmY="; }; + postPatch = '' + substituteInPlace setup.py \ + --replace '"pytest-runner>=5.2",' "" + ''; + propagatedBuildInputs = [ click defusedxml @@ -39,18 +43,12 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - asynctest pytest-asyncio pytest-raises pytestCheckHook respx ]; - postPatch = '' - substituteInPlace setup.py \ - --replace '"pytest-runner>=5.2",' "" - ''; - pythonImportsCheck = [ "ismartgate" ];