From 4c8505b430d65a78d50ed4c2089c0e3af94d4323 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 6 Jan 2025 12:04:58 +0100 Subject: [PATCH] python312Packages.aioasuswrt: migrate to pytest-cov-stub --- pkgs/development/python-modules/aioasuswrt/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/aioasuswrt/default.nix b/pkgs/development/python-modules/aioasuswrt/default.nix index d9e9492cbec2..ff54fa553086 100644 --- a/pkgs/development/python-modules/aioasuswrt/default.nix +++ b/pkgs/development/python-modules/aioasuswrt/default.nix @@ -3,6 +3,7 @@ asyncssh, buildPythonPackage, fetchFromGitHub, + pytest-cov-stub, pytest-asyncio, pytest-mock, pytestCheckHook, @@ -24,18 +25,13 @@ buildPythonPackage rec { hash = "sha256-RQxIgAU9KsTbcTKc/Zl+aP77lbDSeiYzR48MtIVwacc="; }; - postPatch = '' - substituteInPlace setup.cfg \ - --replace-fail "--cov-report html" "" \ - --replace-fail "--cov-report term-missing" "" - ''; - build-system = [ setuptools ]; dependencies = [ asyncssh ]; nativeCheckInputs = [ pytest-asyncio + pytest-cov-stub pytest-mock pytestCheckHook ];