From d98510f4c69b986eeb0eb2eb610fcfd9a77240b4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 6 Jan 2025 12:29:02 +0100 Subject: [PATCH] python312Packages.ge25519: migrate to pytest-cov-stub --- pkgs/development/python-modules/ge25519/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/ge25519/default.nix b/pkgs/development/python-modules/ge25519/default.nix index 24d2d4f15030..d8bf085d7142 100644 --- a/pkgs/development/python-modules/ge25519/default.nix +++ b/pkgs/development/python-modules/ge25519/default.nix @@ -6,6 +6,7 @@ fetchPypi, fountains, parts, + pytest-cov-stub, pytestCheckHook, pythonOlder, setuptools, @@ -32,12 +33,10 @@ buildPythonPackage rec { fountains ]; - nativeCheckInputs = [ pytestCheckHook ]; - - postPatch = '' - substituteInPlace pyproject.toml \ - --replace "--doctest-modules --ignore=docs --cov=ge25519 --cov-report term-missing" "" - ''; + nativeCheckInputs = [ + pytest-cov-stub + pytestCheckHook + ]; pythonImportsCheck = [ "ge25519" ];