0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

mcstatus: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt 2025-06-02 05:56:20 +02:00
parent cdd5740b0d
commit c3685e82ce

View file

@ -8,6 +8,7 @@
poetry-dynamic-versioning,
pytest-asyncio,
pytest-rerunfailures,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
}:
@ -26,11 +27,6 @@ buildPythonPackage rec {
hash = "sha256-P8Su5P/ztyoXZBVvm5uCMDn4ezeg11oRSQ0QCyIJbVw=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=mcstatus --cov-append --cov-branch --cov-report=term-missing -vvv --no-cov-on-fail" ""
'';
nativeBuildInputs = [
poetry-core
poetry-dynamic-versioning
@ -46,6 +42,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytest-asyncio
pytest-rerunfailures
pytest-cov-stub
pytestCheckHook
];