cirrus-cli: 0.92.0 -> 0.92.1
This commit is contained in:
parent
6cb5aad76b
commit
ea393e2697
1 changed files with 11 additions and 2 deletions
|
@ -1,17 +1,18 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
|
, installShellFiles
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "cirrus-cli";
|
pname = "cirrus-cli";
|
||||||
version = "0.92.0";
|
version = "0.92.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cirruslabs";
|
owner = "cirruslabs";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-q6hpsyZZep8IERYh7/oVcCQdgc/s6HufiuE4oNPBaZc=";
|
sha256 = "sha256-ehJyC5NXB53i7ZpWTKySnMwWiqgbgBbnxIVWhyrXC0A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-Llq6siZn34sHsZFneT+MLXf2W9cXqi4DZwrH1R5laOY=";
|
vendorSha256 = "sha256-Llq6siZn34sHsZFneT+MLXf2W9cXqi4DZwrH1R5laOY=";
|
||||||
|
@ -21,6 +22,14 @@ buildGoModule rec {
|
||||||
"-X github.com/cirruslabs/cirrus-cli/internal/version.Commit=v${version}"
|
"-X github.com/cirruslabs/cirrus-cli/internal/version.Commit=v${version}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
postInstall = ''
|
||||||
|
installShellCompletion --cmd cirrus \
|
||||||
|
--bash <($out/bin/cirrus completion bash) \
|
||||||
|
--zsh <($out/bin/cirrus completion zsh) \
|
||||||
|
--fish <($out/bin/cirrus completion fish)
|
||||||
|
'';
|
||||||
|
|
||||||
# tests fail on read-only filesystem
|
# tests fail on read-only filesystem
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue