2019-03-14 01:10:24 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-07-10 17:03:58 +01:00
|
|
|
|
2019-03-14 01:10:24 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "hetzner-kube";
|
2020-03-14 06:36:24 +00:00
|
|
|
version = "0.5.1";
|
2018-07-10 17:03:58 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xetys";
|
|
|
|
repo = "hetzner-kube";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2020-03-14 06:36:24 +00:00
|
|
|
sha256 = "1iqgpmljqx6rhmvsir2675waj78amcfiw08knwvlmavjgpxx2ysw";
|
2018-07-10 17:03:58 +01:00
|
|
|
};
|
|
|
|
|
2020-03-14 06:36:24 +00:00
|
|
|
modSha256 = "0jjrk93wdi13wrb5gchhqk7rgwm74kcizrbqsibgkgs2dszwfazh";
|
2018-07-10 17:03:58 +01:00
|
|
|
|
2019-03-14 01:24:04 +00:00
|
|
|
buildFlagsArray = ''
|
|
|
|
-ldflags=
|
|
|
|
-X github.com/xetys/hetzner-kube/cmd.version=${version}
|
|
|
|
'';
|
|
|
|
|
2018-07-10 17:03:58 +01:00
|
|
|
meta = {
|
|
|
|
description = "A CLI tool for provisioning Kubernetes clusters on Hetzner Cloud";
|
2020-03-14 06:36:24 +00:00
|
|
|
homepage = "https://github.com/xetys/hetzner-kube";
|
2018-07-10 17:03:58 +01:00
|
|
|
license = lib.licenses.asl20;
|
2018-07-11 19:42:28 +01:00
|
|
|
maintainers = with lib.maintainers; [ eliasp ];
|
2018-07-10 17:03:58 +01:00
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|