12 src = fetchFromGitHub {
13 owner = "abhimanyu003";
16 hash = "sha256-9p4h30iM3SZDCAn08KQjJLJGbQND13gbWK5rhW+Knok=";
19 vendorHash = "sha256-GJtnwnT+dJAjnAlGcoealsiKcLu0bBBHOE8xRjJQaVs=";
21 nativeBuildInputs = [ installShellFiles ];
26 "-X=main.version=${version}"
30 installShellCompletion --cmd sttr \
31 --bash <($out/bin/sttr completion bash) \
32 --fish <($out/bin/sttr completion fish) \
33 --zsh <($out/bin/sttr completion zsh)
37 description = "Cross-platform cli tool to perform various operations on string";
38 homepage = "https://github.com/abhimanyu003/sttr";
39 changelog = "https://github.com/abhimanyu003/sttr/releases/tag/v${version}";
40 license = licenses.mit;
41 maintainers = with maintainers; [ Ligthiago ];