Commit 74b5aa68 authored by natsukium's avatar natsukium Committed by Weijia Wang
Browse files

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

parent fd1d12a7
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -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; {