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