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