lol

python313Packages.pysiaalarm: fix tests

+6 -6
+6 -6
pkgs/development/python-modules/pysiaalarm/default.nix
··· 8 8 setuptools-scm, 9 9 pytest-asyncio, 10 10 pytest-cases, 11 - pytest7CheckHook, 11 + pytest-cov-stub, 12 + pytestCheckHook, 12 13 pytz, 13 14 }: 14 15 15 16 buildPythonPackage rec { 16 17 pname = "pysiaalarm"; 17 18 version = "3.1.1"; 18 - format = "setuptools"; 19 + pyproject = true; 19 20 20 21 disabled = pythonOlder "3.8"; 21 22 ··· 27 28 postPatch = '' 28 29 substituteInPlace setup.cfg \ 29 30 --replace "==" ">=" 30 - substituteInPlace pytest.ini \ 31 - --replace "--cov pysiaalarm --cov-report term-missing" "" 32 31 ''; 33 32 34 - nativeBuildInputs = [ setuptools-scm ]; 33 + build-system = [ setuptools-scm ]; 35 34 36 35 propagatedBuildInputs = [ 37 36 dataclasses-json ··· 42 41 nativeCheckInputs = [ 43 42 pytest-asyncio 44 43 pytest-cases 45 - pytest7CheckHook 44 + pytest-cov-stub 45 + pytestCheckHook 46 46 ]; 47 47 48 48 pythonImportsCheck = [