protoc-gen-prost-serde: init at 0.2.3

This commit is contained in:
Johannes Klein 2023-07-14 19:01:25 +02:00
parent 8104326ce6
commit f0521360db
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-prost-serde";
version = "0.2.3";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-V2Z6m9y/bBwrr1mgKXKZjVg+LqTe+GalN/AeaICyE64=";
};
cargoSha256 = "sha256-l27+Rs4TYIJXZVLj7Tjw8M5+7ivWEY0TXbLtbuzwxLw=";
meta = with lib; {
description = "A protoc plugin that generates serde serialization implementations for `protoc-gen-prost`";
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

@ -552,6 +552,8 @@ with pkgs;
protoc-gen-prost-crate = callPackage ../development/tools/protoc-gen-prost-crate { };
protoc-gen-prost-serde = callPackage ../development/tools/protoc-gen-prost-serde { };
protoc-gen-rust = callPackage ../development/tools/protoc-gen-rust { };
protoc-gen-twirp = callPackage ../development/tools/protoc-gen-twirp { };