1 { lib, buildGoModule, installShellFiles, fetchFromGitHub }:
7 src = fetchFromGitHub {
8 owner = "charmbracelet";
11 sha256 = "sha256-6x1t/PLs1dqlY5XQ1F0PDqZ/TofZ0h1hTc0C1sjn3fA=";
14 vendorSha256 = "sha256-rOBwhPXo4sTSI3j3rn3c5qWGnGFgkpeFUKgtzKBltbg=";
20 ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
23 $out/bin/gum man > gum.1
25 installShellCompletion --cmd gum \
26 --bash <($out/bin/gum completion bash) \
27 --fish <($out/bin/gum completion fish) \
28 --zsh <($out/bin/gum completion zsh)
32 description = "Tasty Bubble Gum for your shell";
33 homepage = "https://github.com/charmbracelet/gum";
34 changelog = "https://github.com/charmbracelet/gum/releases/tag/v${version}";
35 license = licenses.mit;
36 maintainers = with maintainers; [ maaslalani ];