9 rustPlatform.buildRustPackage rec {
16 hash = "sha256-HbnuLu1yCpwouDVBH/vcFVLDMZWeqHH6qHFJoTbaS9Y=";
19 cargoHash = "sha256-AJtQrImQlxnp1RbbOZHAJsvlhm39OlC5WyvD5jybMAY=";
25 postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
26 installShellCompletion --cmd planus \
27 --bash <($out/bin/planus generate-completions bash) \
28 --fish <($out/bin/planus generate-completions fish) \
29 --zsh <($out/bin/planus generate-completions zsh)
33 description = "Alternative compiler for flatbuffers";
34 mainProgram = "planus";
35 homepage = "https://github.com/planus-org/planus";
36 changelog = "https://github.com/planus-org/planus/blob/v${version}/CHANGELOG.md";
37 license = with licenses; [
41 maintainers = with maintainers; [ figsoda ];