11 src = fetchFromGitHub {
15 sha256 = "sha256-dJq2/XxhSvqlRQwMHX2RHct6KQu9uik3SPeWD2/rwto=";
18 vendorHash = "sha256-d3cHXO4SFeNybiVDc3dUmd1XzUJ1SlMqSw7KPC3ZrXQ=";
21 "-X github.com/cirruslabs/cirrus-cli/internal/version.Version=v${version}"
22 "-X github.com/cirruslabs/cirrus-cli/internal/version.Commit=v${version}"
25 nativeBuildInputs = [ installShellFiles ];
27 installShellCompletion --cmd cirrus \
28 --bash <($out/bin/cirrus completion bash) \
29 --zsh <($out/bin/cirrus completion zsh) \
30 --fish <($out/bin/cirrus completion fish)
33 # tests fail on read-only filesystem
37 description = "CLI for executing Cirrus tasks locally and in any CI";
38 homepage = "https://github.com/cirruslabs/cirrus-cli";
39 license = licenses.agpl3Plus;
40 maintainers = with maintainers; [ techknowlogick ];
41 mainProgram = "cirrus";