biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / by-name / pr / protoc-gen-tonic / package.nix
blob0e3334885ef4fbcc1c6f9b23a686de5ab94af8d8
2   fetchCrate,
3   lib,
4   rustPlatform,
5   nix-update-script,
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "protoc-gen-tonic";
10   version = "0.4.1";
12   src = fetchCrate {
13     inherit pname version;
14     hash = "sha256-H7YQ8y6YA8kjR9bhHfBOYu0OEFc8ezqXkqC6jGScs3s=";
15   };
17   cargoHash = "sha256-eYX3w/rSi/kuH6gyWCWT4on7pKedPKnl9pht1jXNwpg=";
19   passthru.updateScript = nix-update-script { };
21   meta = with lib; {
22     description = "Protoc plugin that generates Tonic gRPC server and client code using the Prost code generation engine";
23     mainProgram = "protoc-gen-tonic";
24     homepage = "https://github.com/neoeinstein/protoc-gen-prost";
25     changelog = "https://github.com/neoeinstein/protoc-gen-prost/blob/main/CHANGELOG.md";
26     license = licenses.asl20;
27     maintainers = with maintainers; [
28       felschr
29       sitaaax
30     ];
31   };