grpc-tools: add passthru.updateScript

This commit is contained in:
Mario Rodas 2023-08-27 04:20:00 +00:00
parent a279e5cd74
commit e9f719a2aa

View file

@ -2,6 +2,7 @@
, stdenv
, cmake
, fetchFromGitHub
, gitUpdater
}:
stdenv.mkDerivation rec {
@ -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 = ''