Merge pull request #109513 from marsam/update-grpc

grpc: 1.34.0 -> 1.34.1
This commit is contained in:
Mario Rodas 2021-01-16 17:19:23 -05:00 committed by GitHub
commit e1545d42aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

@ -3,13 +3,13 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.34.0"; # N.B: if you change this, change pythonPackages.grpcio-tools to a matching version too version = "1.34.1"; # N.B: if you change this, change pythonPackages.grpcio-tools to a matching version too
pname = "grpc"; pname = "grpc";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "grpc"; owner = "grpc";
repo = "grpc"; repo = "grpc";
rev = "v${version}"; rev = "v${version}";
sha256 = "0kipk26kg2x06mrkhb74k8vk5cn4mr89kw1f9mb04n616wkxjyxy"; sha256 = "0p6si9i0gg885ag2x87a7jyzhgd5lhx2bh2vjj2ra1jn6y3vg6qk";
fetchSubmodules = true; fetchSubmodules = true;
}; };
patches = [ patches = [

@ -1,12 +1,12 @@
{ lib, stdenv, buildPythonPackage, fetchPypi, protobuf, grpcio, setuptools }: { lib, buildPythonPackage, fetchPypi, protobuf, grpcio, setuptools }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "grpcio-tools"; pname = "grpcio-tools";
version = "1.34.0"; version = "1.34.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "db5a6f0130256d534cbe35eab37d37a448d96f4fd736e5051c6be1aee49cea1d"; sha256 = "b411f36748f4ead33411544d785e37825598bbb8abbe79eca422e395be5a3d08";
}; };
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
@ -18,6 +18,8 @@ buildPythonPackage rec {
# no tests in the package # no tests in the package
doCheck = false; doCheck = false;
pythonImportsCheck = [ "grpc_tools" ];
meta = with lib; { meta = with lib; {
description = "Protobuf code generator for gRPC"; description = "Protobuf code generator for gRPC";
license = licenses.asl20; license = licenses.asl20;