Merge pull request #270708 from lucperkins/protoc-gen-rust-grpc
protoc-gen-rust-grpc: init at 0.8.3
This commit is contained in:
commit
495c77005f
1 changed files with 22 additions and 0 deletions
22
pkgs/by-name/pr/protoc-gen-rust-grpc/package.nix
Normal file
22
pkgs/by-name/pr/protoc-gen-rust-grpc/package.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue