depot/third_party/nixpkgs/pkgs/development/python-modules/grpcio-tools/default.nix

26 lines
607 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi, protobuf, grpcio }:
buildPythonPackage rec {
pname = "grpcio-tools";
version = "1.31.0";
src = fetchPypi {
inherit pname version;
sha256 = "3b08cbd3f4d5b60e3bff8f859e6e03db739967a684268164abc940415e23ca51";
};
enableParallelBuilding = true;
propagatedBuildInputs = [ protobuf grpcio ];
# no tests in the package
doCheck = false;
meta = with stdenv.lib; {
description = "Protobuf code generator for gRPC";
license = licenses.asl20;
homepage = "https://grpc.io/grpc/python/";
maintainers = with maintainers; [ ];
};
}