protoc-gen-{tonic,prost{,-serde,-crate}}: add update scripts
This commit is contained in:
parent
518778a5e3
commit
efee88f382
pkgs/by-name/pr
protoc-gen-prost-crate
protoc-gen-prost-serde
protoc-gen-prost
protoc-gen-tonic
@ -2,6 +2,7 @@
|
||||
fetchCrate,
|
||||
lib,
|
||||
rustPlatform,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -15,6 +16,8 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "sha256-dcKJRX/iHIWEmBD2nTMyQozxld8b7dhxxB85quPUysg=";
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Protoc plugin that generates Cargo crates and include files for `protoc-gen-prost`";
|
||||
mainProgram = "protoc-gen-prost-crate";
|
||||
|
@ -2,6 +2,7 @@
|
||||
fetchCrate,
|
||||
lib,
|
||||
rustPlatform,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -15,6 +16,8 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "sha256-l27+Rs4TYIJXZVLj7Tjw8M5+7ivWEY0TXbLtbuzwxLw=";
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Protoc plugin that generates serde serialization implementations for `protoc-gen-prost`";
|
||||
mainProgram = "protoc-gen-prost-serde";
|
||||
|
@ -2,6 +2,7 @@
|
||||
fetchCrate,
|
||||
lib,
|
||||
rustPlatform,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -15,6 +16,8 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "sha256-ghXcyxG9zqUOFKGvUza29OgC3XiEtesqsAsfI/lFT08=";
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Protocol Buffers compiler plugin powered by Prost";
|
||||
mainProgram = "protoc-gen-prost";
|
||||
|
@ -2,6 +2,7 @@
|
||||
fetchCrate,
|
||||
lib,
|
||||
rustPlatform,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -15,6 +16,8 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "sha256-FrkvL/uJitMkSyOytVSmlwr26yMVM12S2n+EaSw11CE=";
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Protoc plugin that generates Tonic gRPC server and client code using the Prost code generation engine";
|
||||
mainProgram = "protoc-gen-tonic";
|
||||
|
Loading…
Reference in New Issue
Block a user