Merge pull request #48645 from zauberpony/hcloud-1.9.1
hcloud: 1.6.1 -> 1.9.1
This commit is contained in:
commit
a313e90b3d
@ -2,16 +2,19 @@
|
|||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
name = "hcloud-${version}";
|
name = "hcloud-${version}";
|
||||||
version = "1.6.1";
|
version = "1.9.1";
|
||||||
|
|
||||||
goPackagePath = "github.com/hetznercloud/cli";
|
goPackagePath = "github.com/hetznercloud/cli";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hetznercloud";
|
owner = "hetznercloud";
|
||||||
repo = "cli";
|
repo = "cli";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0v5n7y8vb23iva51kb15da198yk7glc1fix193icrk3pvcbj5bjr";
|
sha256 = "0qc4mzjd1q3xv1j0dxv5qvk443bdhh5hlbv3i3444v36wycj3171";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
goDeps = ./deps.nix;
|
||||||
|
|
||||||
buildFlagsArray = [ "-ldflags=" "-w -X github.com/hetznercloud/cli/cli.Version=${version}" ];
|
buildFlagsArray = [ "-ldflags=" "-w -X github.com/hetznercloud/cli/cli.Version=${version}" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
102
pkgs/development/tools/hcloud/deps.nix
generated
Normal file
102
pkgs/development/tools/hcloud/deps.nix
generated
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
||||||
|
[
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/dustin/go-humanize";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/dustin/go-humanize";
|
||||||
|
rev = "9f541cc9db5d55bce703bd99987c9d5cb8eea45e";
|
||||||
|
sha256 = "1kqf1kavdyvjk7f8kx62pnm7fbypn9z1vbf8v2qdh3y7z7a0cbl3";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/fatih/structs";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/fatih/structs";
|
||||||
|
rev = "878a968ab22548362a09bdb3322f98b00f470d46";
|
||||||
|
sha256 = "15nkffa8ylr5kkv52gyry675l8bzv3c0xx39j0fzz0vp2kcjyy8x";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/gosuri/uilive";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/gosuri/uilive";
|
||||||
|
rev = "ac356e6e42cd31fcef8e6aec13ae9ed6fe87713e";
|
||||||
|
sha256 = "1k28zbc14p1yqzhamp9rcagjdw6wsdb55m08nx758jwlr31az6jy";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/gosuri/uiprogress";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/gosuri/uiprogress";
|
||||||
|
rev = "d0567a9d84a1c40dd7568115ea66f4887bf57b33";
|
||||||
|
sha256 = "1m7rxf71mn8w2yysc8wmf2703avhci6f4nkiijjl1f2cx4kzykck";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/hetznercloud/hcloud-go";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/hetznercloud/hcloud-go";
|
||||||
|
rev = "eaf050e4f37028d2ca5f99a2fb38ead2c9b293d3";
|
||||||
|
sha256 = "0ki4vk02da4dj6prx3gz8cvrfkj6xb72sjkwqcrbdp4n4klasngi";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/pelletier/go-toml";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/pelletier/go-toml";
|
||||||
|
rev = "81a861c69d25a841d0c4394f0e6f84bc8c5afae0";
|
||||||
|
sha256 = "1sk301rm7rm5hfcx7z7vgask5i80wx3mhyxjr3xnm5q1rvdj6vsl";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/spf13/cobra";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/spf13/cobra";
|
||||||
|
rev = "8d114be902bc9f08717804830a55c48378108a28";
|
||||||
|
sha256 = "1ipmdjwqxyvj6cv33xm1m4ngyx49jsnp8n9jd8fjbkng8aw3q4al";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/spf13/pflag";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/spf13/pflag";
|
||||||
|
rev = "298182f68c66c05229eb03ac171abe6e309ee79a";
|
||||||
|
sha256 = "1cj3cjm7d3zk0mf1xdybh0jywkbbw7a6yr3y22x9sis31scprswd";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/thcyron/uiprogress";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/thcyron/uiprogress";
|
||||||
|
rev = "25e98ffb0e98b5192b475d8f2fd78083bfe9a67e";
|
||||||
|
sha256 = "1avb0jykn3qbjrvhc8i50ahisf9rsfy74ysrwfqbqqkpvhdxv12i";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "golang.org/x/crypto";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://go.googlesource.com/crypto";
|
||||||
|
rev = "0c41d7ab0a0ee717d4590a44bcb987dfd9e183eb";
|
||||||
|
sha256 = "1mff9l49dffsak7vxg3dzxlzkgm5nqfksh9cbsjpmngpc5pk0fbc";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "golang.org/x/sys";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://go.googlesource.com/sys";
|
||||||
|
rev = "fa43e7bc11baaae89f3f902b2b4d832b68234844";
|
||||||
|
sha256 = "1z96xhgw930jpd53g1sy9x6wiijgz751czbvr2zzgc55y0md1mfw";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user