Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python312Packages.aetcd: relax protobuf, use pytest-cov-stub

+6 -4
+6 -4
pkgs/development/python-modules/aetcd/default.nix
··· 5 grpcio, 6 protobuf, 7 pytest-asyncio, 8 pytest-mock, 9 pytestCheckHook, 10 pythonOlder, ··· 29 postPatch = '' 30 substituteInPlace setup.py \ 31 --replace-fail "setuptools_scm==6.3.2" "setuptools_scm" 32 - substituteInPlace setup.cfg \ 33 - --replace-fail "--cov=aetcd" "" 34 ''; 35 36 - nativeBuildInputs = [ 37 setuptools 38 setuptools-scm 39 ]; 40 41 - propagatedBuildInputs = [ 42 grpcio 43 protobuf 44 ]; 45 46 nativeCheckInputs = [ 47 pytest-asyncio 48 pytest-mock 49 pytestCheckHook 50 ];
··· 5 grpcio, 6 protobuf, 7 pytest-asyncio, 8 + pytest-cov-stub, 9 pytest-mock, 10 pytestCheckHook, 11 pythonOlder, ··· 30 postPatch = '' 31 substituteInPlace setup.py \ 32 --replace-fail "setuptools_scm==6.3.2" "setuptools_scm" 33 ''; 34 35 + pythonRelaxDeps = [ "protobuf" ]; 36 + 37 + build-system = [ 38 setuptools 39 setuptools-scm 40 ]; 41 42 + dependencies = [ 43 grpcio 44 protobuf 45 ]; 46 47 nativeCheckInputs = [ 48 pytest-asyncio 49 + pytest-cov-stub 50 pytest-mock 51 pytestCheckHook 52 ];