hcloud: init at 1.3.0
This commit is contained in:
parent
39f62c770b
commit
04769e898f
24
pkgs/development/tools/hcloud/default.nix
Normal file
24
pkgs/development/tools/hcloud/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||||
|
|
||||||
|
buildGoPackage rec {
|
||||||
|
name = "hcloud-${version}";
|
||||||
|
version = "1.3.0";
|
||||||
|
goPackagePath = "github.com/hetznercloud/cli";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "hetznercloud";
|
||||||
|
repo = "cli";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1216qz1kk38vkvfrznjwb65vsbhscqvvrsbp2i6pnf0i85p00pqm";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildFlagsArray = [ "-ldflags=" "-X github.com/hetznercloud/cli.Version=${version}" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A command-line interface for Hetzner Cloud, a provider for cloud virtual private servers";
|
||||||
|
homepage = https://github.com/hetznercloud/cli;
|
||||||
|
license = stdenv.lib.licenses.mit;
|
||||||
|
platforms = stdenv.lib.platforms.all;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.zauberpony ];
|
||||||
|
};
|
||||||
|
}
|
@ -7603,6 +7603,8 @@ with pkgs;
|
|||||||
guile = guile_2_0;
|
guile = guile_2_0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hcloud = callPackage ../development/tools/hcloud { };
|
||||||
|
|
||||||
help2man = callPackage ../development/tools/misc/help2man {
|
help2man = callPackage ../development/tools/misc/help2man {
|
||||||
inherit (perlPackages) LocaleGettext;
|
inherit (perlPackages) LocaleGettext;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user