python312Packages.manimpango: add pytest-cov-stub to nativeCheckInputs

This commit is contained in:
natsukium
2024-11-01 18:40:43 +01:00
committed by Weijia Wang
parent fd1d12a791
commit 74b5aa68dc
@@ -8,6 +8,7 @@
pango,
cython,
AppKit,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
}:
@@ -35,17 +36,15 @@ buildPythonPackage rec {
cython
];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
preCheck = ''
rm -r manimpango
'';
postPatch = ''
substituteInPlace setup.cfg \
--replace "--cov --no-cov-on-fail" ""
'';
pythonImportsCheck = [ "manimpango" ];
meta = with lib; {