grpc-tools: add passthru.updateScript
This commit is contained in:
parent
a279e5cd74
commit
e9f719a2aa
|
@ -2,6 +2,7 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, cmake
|
, cmake
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, gitUpdater
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -25,6 +26,11 @@ stdenv.mkDerivation rec {
|
||||||
install -Dm755 -t $out/bin deps/protobuf/protoc
|
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; {
|
meta = with lib; {
|
||||||
description = "Distribution of protoc and the gRPC Node protoc plugin for ease of installation with npm";
|
description = "Distribution of protoc and the gRPC Node protoc plugin for ease of installation with npm";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
Loading…
Reference in a new issue