hcloud: 1.29.0 -> 1.29.5

* Enable tests
* Minor refactoring
main
superherointj 2 years ago
parent e8e87beee7
commit 9759288f34
  1. 15
      pkgs/development/tools/hcloud/default.nix

@ -2,22 +2,23 @@
buildGoModule rec {
pname = "hcloud";
version = "1.29.0";
version = "1.29.5";
src = fetchFromGitHub {
owner = "hetznercloud";
repo = "cli";
rev = "v${version}";
sha256 = "sha256-B5L4vK5JkcYHqdyxAsP+tBcA6PtM2Gd4JwtW5nMuIXQ=";
sha256 = "sha256-a+AXWr/60VFdNk+UkDYRXo5ib8LvaCVpjNi1GFrRVho=";
};
nativeBuildInputs = [ installShellFiles ];
vendorSha256 = "sha256-3YU6vAIzTzkEwyMPH4QSUuQ1PQlrWnfRRCA1fHMny48=";
vendorSha256 = "sha256-iJnjmfP9BcT+OXotbS2+OSWGxQaMXwdlR1WTi04FesM=";
doCheck = false;
ldflags = [
"-s" "-w"
"-X github.com/hetznercloud/cli/cli.Version=${version}"
];
ldflags = [ "-s" "-w" "-X github.com/hetznercloud/cli/cli.Version=${version}" ];
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
for shell in bash zsh; do

Loading…
Cancel
Save