Merge pull request #251719 from marsam/update-grpc-tools
grpc-tools: 1.11.2 -> 1.12.4
This commit is contained in:
@@ -2,17 +2,18 @@
|
||||
, stdenv
|
||||
, cmake
|
||||
, fetchFromGitHub
|
||||
, gitUpdater
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "grpc-tools";
|
||||
version = "1.11.2";
|
||||
version = "1.12.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "grpc";
|
||||
repo = "grpc-node";
|
||||
rev = "grpc-tools@${version}";
|
||||
sha256 = "00432y19pjcimwachjcqpzra21vzmlqchhhlqxnk98bfh25kxdcb";
|
||||
hash = "sha256-708lBIGW5+vvSTrZHl/kc+ck7JKNXElrghIGDrMSyx8=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
@@ -25,6 +26,11 @@ stdenv.mkDerivation rec {
|
||||
install -Dm755 -t $out/bin deps/protobuf/protoc
|
||||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
url = "https://github.com/grpc/grpc-node.git";
|
||||
rev-prefix = "grpc-tools@";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Distribution of protoc and the gRPC Node protoc plugin for ease of installation with npm";
|
||||
longDescription = ''
|
||||
|
||||
Reference in New Issue
Block a user