nixpkgs/pkgs/by-name/pr/protoc-gen-tonic/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
840 B
Nix
Raw Normal View History

{
fetchCrate,
lib,
rustPlatform,
nix-update-script,
2023-07-14 17:11:01 +00:00
}:
rustPlatform.buildRustPackage rec {
pname = "protoc-gen-tonic";
2024-08-24 08:20:54 +00:00
version = "0.4.1";
2023-07-14 17:11:01 +00:00
src = fetchCrate {
inherit pname version;
2024-08-24 08:20:54 +00:00
hash = "sha256-H7YQ8y6YA8kjR9bhHfBOYu0OEFc8ezqXkqC6jGScs3s=";
2023-07-14 17:11:01 +00:00
};
2024-08-24 08:20:54 +00:00
cargoHash = "sha256-eYX3w/rSi/kuH6gyWCWT4on7pKedPKnl9pht1jXNwpg=";
2023-07-14 17:11:01 +00:00
passthru.updateScript = nix-update-script { };
2023-07-14 17:11:01 +00:00
meta = with lib; {
description = "Protoc plugin that generates Tonic gRPC server and client code using the Prost code generation engine";
mainProgram = "protoc-gen-tonic";
2023-07-14 17:11:01 +00:00
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
];
2023-07-14 17:11:01 +00:00
};
}