grpc-tools: add passthru.updateScript
This commit is contained in:
parent
a279e5cd74
commit
e9f719a2aa
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue