Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
850 B · 45 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, buildPythonPackage, fetchPypi, grpcio, protobuf, pythonOlder, pythonRelaxDepsHook}:
buildPythonPackage rec { pname = "grpcio-testing"; version = "1.54.2"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-qCMOjSfe7eGIWyomTLiLrLrt/GekmLdlMO2VnPihgI0="; };
postPatch = '' substituteInPlace setup.py \ --replace "'grpcio>={version}'.format(version=grpc_version.VERSION)" "'grpcio'" '';
propagatedBuildInputs = [ 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 ]; };}