protoc-gen-tonic: init at 0.3.0

This commit is contained in:
Johannes Klein 2023-07-14 19:11:01 +02:00
parent f0521360db
commit 0851a2db03
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ fetchCrate
, lib
, rustPlatform
, protobuf
}:
rustPlatform.buildRustPackage rec {
pname = "protoc-gen-tonic";
version = "0.3.0";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-jgU1XvUxIrZ72dLNPqDGHCONMlHsjW4k4vkO626iqxs=";
};
cargoSha256 = "sha256-FrkvL/uJitMkSyOytVSmlwr26yMVM12S2n+EaSw11CE=";
meta = with lib; {
description = "A protoc plugin that generates Tonic gRPC server and client code using the Prost code generation engine";
homepage = "https://github.com/neoeinstein/protoc-gen-prost";
changelog = "https://github.com/neoeinstein/protoc-gen-prost/blob/main/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ felschr sitaaax ];
};
}

View File

@ -556,6 +556,8 @@ with pkgs;
protoc-gen-rust = callPackage ../development/tools/protoc-gen-rust { };
protoc-gen-tonic = callPackage ../development/tools/protoc-gen-tonic { };
protoc-gen-twirp = callPackage ../development/tools/protoc-gen-twirp { };
protoc-gen-twirp_php = callPackage ../development/tools/protoc-gen-twirp_php { };