11 src = fetchFromGitHub {
15 hash = "sha256-foGg+o+BbPsfpph+XHIfyPaknQD1N1rcZW58kgZ5HYM=";
18 vendorHash = "sha256-9z3M3FEjllNpae+5EcLVkF1rAtOQzUQGebJeU7QsmTA=";
24 ldflags = [ "-s" "-w" ];
27 installShellCompletion --cmd abbreviate \
28 --bash <($out/bin/abbreviate completion bash) \
29 --fish <($out/bin/abbreviate completion fish) \
30 --zsh <($out/bin/abbreviate completion zsh)
34 description = "Shorten your strings using common abbreviations";
35 mainProgram = "abbreviate";
36 homepage = "https://github.com/dnnrly/abbreviate";
37 changelog = "https://github.com/dnnrly/abbreviate/releases/tag/${src.rev}";
38 license = licenses.asl20;
39 maintainers = with maintainers; [ figsoda ];