nixpkgs/pkgs/by-name/pr/protoc-gen-prost/package.nix
2024-06-24 14:23:19 +02:00

33 lines
788 B
Nix

{
fetchCrate,
lib,
rustPlatform,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "protoc-gen-prost";
version = "0.3.1";
src = fetchCrate {
inherit pname version;
hash = "sha256-ma9sdt3/uq06BMELwsNadMkiEfstQhA4DAQEPdizZJM=";
};
cargoHash = "sha256-pJDrwX5uDIrycxtmbds8l4wadZE0RdgmNpMwVkUGJDs=";
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Protocol Buffers compiler plugin powered by Prost";
mainProgram = "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
];
};
}