11 src = fetchFromGitHub {
12 owner = "hetznercloud";
14 rev = "refs/tags/v${version}";
15 hash = "sha256-czuMlnVhUDWGVbIZ0V7vaoOnT84WKPFjhcUvt5BzBXo=";
18 vendorHash = "sha256-0XFgi2cPlsL4zCbttGrEsm0j5ftB8MAuphu3YNlPbIs=";
23 "-X=github.com/hetznercloud/cli/internal/version.Version=${version}"
26 nativeBuildInputs = [ installShellFiles ];
29 for shell in bash fish zsh; do
30 $out/bin/hcloud completion $shell > hcloud.$shell
31 installShellCompletion hcloud.$shell
36 changelog = "https://github.com/hetznercloud/cli/releases/tag/v${version}";
37 description = "A command-line interface for Hetzner Cloud, a provider for cloud virtual private servers";
38 mainProgram = "hcloud";
39 homepage = "https://github.com/hetznercloud/cli";
40 license = licenses.mit;
41 maintainers = with maintainers; [ zauberpony techknowlogick ];