summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking/cluster/hetzner-kube
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2020-03-27 07:33:21 +0000
committerJörg Thalheim <joerg@thalheim.io>2020-03-27 07:33:21 +0000
commit066db11215a2287a88a80ec71595cd8764563444 (patch)
tree9b463617906764f1e824df6f56f7721d475f3a71 /pkgs/applications/networking/cluster/hetzner-kube
parent0bba7474b3e6c8cef36960614446447d38ec04c9 (diff)
Revert "Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin"
This reverts commit 4e6bf03504c9e09f067cc6dee6b5aeec43a1405c, reversing changes made to afd997aab6e9b7a322198092c7828d6c560ac06f. Instead we propagate those frameworks from the compiler again
Diffstat (limited to 'pkgs/applications/networking/cluster/hetzner-kube')
-rw-r--r--pkgs/applications/networking/cluster/hetzner-kube/default.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/applications/networking/cluster/hetzner-kube/default.nix b/pkgs/applications/networking/cluster/hetzner-kube/default.nix
index 8a59bf3197a9..1d9940c8f318 100644
--- a/pkgs/applications/networking/cluster/hetzner-kube/default.nix
+++ b/pkgs/applications/networking/cluster/hetzner-kube/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, buildGoModule, fetchFromGitHub, Security }:
+{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "hetzner-kube";
@@ -13,18 +13,16 @@ buildGoModule rec {
modSha256 = "0jjrk93wdi13wrb5gchhqk7rgwm74kcizrbqsibgkgs2dszwfazh";
- buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
-
buildFlagsArray = ''
-ldflags=
-X github.com/xetys/hetzner-kube/cmd.version=${version}
'';
- meta = with stdenv.lib; {
+ meta = {
description = "A CLI tool for provisioning Kubernetes clusters on Hetzner Cloud";
homepage = "https://github.com/xetys/hetzner-kube";
- license = licenses.asl20;
- maintainers = with maintainers; [ eliasp ];
- platforms = platforms.unix;
+ license = lib.licenses.asl20;
+ maintainers = with lib.maintainers; [ eliasp ];
+ platforms = lib.platforms.unix;
};
}