Merge pull request #270708 from lucperkins/protoc-gen-rust-grpc

protoc-gen-rust-grpc: init at 0.8.3
This commit is contained in:
Peder Bergebakken Sundt 2023-12-19 12:25:38 +01:00 committed by GitHub
commit 495c77005f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,22 @@
{ fetchCrate, lib, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "protoc-gen-rust-grpc";
version = "0.8.3";
src = fetchCrate {
pname = "grpc-compiler";
inherit version;
hash = "sha256-gt+Qa68N5EkqhCAvU2ISvVPT9vYPXMySad4DCyTVHkQ=";
};
cargoHash = "sha256-08xEPc1GaRIYLbIlSRpfBvSQcs16vduJ7v/NDg7Awfs=";
meta = with lib; {
description = "Protobuf plugin for generating Rust code for gRPC";
homepage = "https://github.com/stepancheg/grpc-rust";
license = licenses.mit;
maintainers = with maintainers; [ lucperkins ];
mainProgram = "protoc-gen-rust-grpc";
};
}