python312Packages.pyrainbird: migrate to pytest-cov-stub (#371412)

This commit is contained in:
Nick Cao
2025-01-06 10:47:40 -05:00
committed by GitHub
@@ -10,6 +10,7 @@
pycryptodome,
pytest-aiohttp,
pytest-asyncio,
pytest-cov-stub,
pytest-golden,
pytest-mock,
pytestCheckHook,
@@ -36,11 +37,6 @@ buildPythonPackage rec {
hash = "sha256-CcoZZ60PItqy0bCc36WfyNF9Fc28aHwQ6hhnY41lBNg=";
};
postPatch = ''
substituteInPlace pytest.ini \
--replace-fail "--cov=pyrainbird --cov-report=term-missing" ""
'';
build-system = [ setuptools ];
dependencies = [
@@ -60,6 +56,7 @@ buildPythonPackage rec {
parameterized
pytest-aiohttp
pytest-asyncio
pytest-cov-stub
pytest-golden
pytest-mock
pytestCheckHook
@@ -73,7 +70,7 @@ buildPythonPackage rec {
description = "Module to interact with Rainbird controllers";
homepage = "https://github.com/allenporter/pyrainbird";
changelog = "https://github.com/allenporter/pyrainbird/releases/tag/${version}";
license = with licenses; [ mit ];
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}