mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
33 lines
788 B
Nix
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
|
|
];
|
|
};
|
|
}
|