From f7dc3f033658b5f162f08489b2c4ca03eb9cca1b Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Tue, 6 Aug 2024 23:57:44 +0200 Subject: [PATCH] python311Packages.stups-cli-support: migrate to pytestCheckHook --- .../python-modules/stups-cli-support/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/stups-cli-support/default.nix b/pkgs/development/python-modules/stups-cli-support/default.nix index ef3696284307..8b67245cd568 100644 --- a/pkgs/development/python-modules/stups-cli-support/default.nix +++ b/pkgs/development/python-modules/stups-cli-support/default.nix @@ -5,8 +5,7 @@ clickclick, dnspython, requests, - pytest, - pytest-cov, + pytestCheckHook, isPy3k, }: @@ -31,10 +30,7 @@ buildPythonPackage rec { preCheck = "export HOME=$TEMPDIR"; - nativeCheckInputs = [ - pytest - pytest-cov - ]; + nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { description = "Helper library for all STUPS command line tools";