Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
963 B · 55 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, buildPythonPackage, fetchPypi, protobuf, grpcio, 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-tools"; version = "1.73.1"; pyproject = true;
src = fetchPypi { pname = "grpcio_tools"; inherit version; hash = "sha256-bgat7DsIcPWUeVOw74298s683/Yfsf4IEgzHSDx5eKo="; };
outputs = [ "out" "dev" ];
enableParallelBuilding = true;
build-system = [ setuptools ];
pythonRelaxDeps = [ "protobuf" "grpcio" ];
dependencies = [ protobuf grpcio setuptools ];
# no tests in the package doCheck = false;
pythonImportsCheck = [ "grpc_tools" ];
meta = with lib; { description = "Protobuf code generator for gRPC"; license = licenses.asl20; homepage = "https://grpc.io/grpc/python/"; maintainers = [ ]; };}