hcloud: utilize pname and quote URL

This implements rfc 0035 and rfc 0045.
This commit is contained in:
Elmar Athmer 2019-07-30 12:12:24 +02:00
parent d7eeb8354e
commit 1b4de41d64

View file

@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "hcloud-${version}";
pname = "hcloud";
version = "1.13.0";
goPackagePath = "github.com/hetznercloud/cli";
@ -32,7 +32,7 @@ buildGoPackage rec {
meta = {
description = "A command-line interface for Hetzner Cloud, a provider for cloud virtual private servers";
homepage = https://github.com/hetznercloud/cli;
homepage = "https://github.com/hetznercloud/cli";
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.zauberpony ];