Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 54 lines
Nix
at gcc-offload
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, buildPythonPackage, fetchPypi, grpcio, protobuf, pythonOlder, setuptools,}:
# This package should be updated together with the main grpc package and other# related python grpc packages.# nixpkgs-update: no auto updatebuildPythonPackage rec { pname = "grpcio-testing"; version = "1.67.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { pname = "grpcio_testing"; inherit version; hash = "sha256-YVRnu0aObDSfYCIKlrvMKin70hmwDdip96I+Qyi7+Dw="; };
postPatch = '' substituteInPlace setup.py \ --replace-fail '"grpcio>={version}".format(version=grpc_version.VERSION)' '"grpcio"' '';
build-system = [ setuptools ];
pythonRelaxDeps = [ "protobuf" ];
dependencies = [ grpcio protobuf ];
pythonImportsCheck = [ "grpc_testing" ];
# Module has no tests doCheck = false;
meta = with lib; { description = "Testing utilities for gRPC Python"; homepage = "https://grpc.io/"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; };}