2024-06-24 18:47:55 +00:00
|
|
|
{
|
|
|
|
fetchCrate,
|
|
|
|
lib,
|
|
|
|
rustPlatform,
|
|
|
|
nix-update-script,
|
2023-07-15 17:15:38 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "protoc-gen-prost";
|
2024-06-24 18:47:55 +00:00
|
|
|
version = "0.3.1";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2024-06-24 18:47:55 +00:00
|
|
|
hash = "sha256-ma9sdt3/uq06BMELwsNadMkiEfstQhA4DAQEPdizZJM=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
2024-06-24 18:47:55 +00:00
|
|
|
cargoHash = "sha256-pJDrwX5uDIrycxtmbds8l4wadZE0RdgmNpMwVkUGJDs=";
|
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script { };
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Protocol Buffers compiler plugin powered by Prost";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "protoc-gen-prost";
|
2023-07-15 17:15:38 +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;
|
2024-06-24 18:47:55 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
felschr
|
|
|
|
sitaaax
|
|
|
|
];
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
}
|