forked from mirrors/nixpkgs
hcloud: 1.29.5 -> 1.30.0
* hcloud: 1.29.5 -> 1.30.0 * hcloud: add fish to shell autocompletion Co-authored-by: superherointj <5861043+superherointj@users.noreply.github.com>
This commit is contained in:
parent
e25d5905ec
commit
72e26a9f5b
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "hcloud";
|
||||
version = "1.29.5";
|
||||
version = "1.30.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hetznercloud";
|
||||
repo = "cli";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-a+AXWr/60VFdNk+UkDYRXo5ib8LvaCVpjNi1GFrRVho=";
|
||||
sha256 = "sha256-mbMrXPQg5yUhmfJ3ztrXD/NKmwJKkZFFPu+utrsaPEc=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-iJnjmfP9BcT+OXotbS2+OSWGxQaMXwdlR1WTi04FesM=";
|
||||
vendorSha256 = "sha256-++uvg/vXRX2lPU4CmqAcLWbsWBXZHXaXO4qXEaq90T4";
|
||||
|
||||
ldflags = [
|
||||
"-s" "-w"
|
||||
|
@ -21,7 +21,7 @@ buildGoModule rec {
|
|||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
postInstall = ''
|
||||
for shell in bash zsh; do
|
||||
for shell in bash fish zsh; do
|
||||
$out/bin/hcloud completion $shell > hcloud.$shell
|
||||
installShellCompletion hcloud.$shell
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue