Skip to content

Commit

Permalink
kube-aws: 0.8.1 -> 0.9.4
Browse files Browse the repository at this point in the history
Also, enable on Darwin
  • Loading branch information
copumpkin committed Mar 14, 2017
1 parent 18684a4 commit 25e75cd
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions pkgs/development/tools/kube-aws/default.nix
Expand Up @@ -4,27 +4,33 @@ with lib;

buildGoPackage rec {
name = "kube-aws-${version}";
version = "0.8.1";
version = "0.9.4";

goPackagePath = "github.com/coreos/coreos-kubernetes";
goPackagePath = "github.com/coreos/kube-aws";

src = fetchFromGitHub {
owner = "coreos";
repo = "coreos-kubernetes";
repo = "kube-aws";
rev = "v${version}";
sha256 = "067nc525km0f37w5km44fs5pr22a6zz3lkdwwg2akb4hhg6f45c2";
sha256 = "11h14fsnflbx76rmpp0fxahbxi2qgcamgyxy9s4rmw83j2m8csxp";
};

preBuild = ''
(cd go/src/github.com/coreos/coreos-kubernetes
go generate multi-node/aws/pkg/config/config.go)
preBuild = ''(
cd go/src/${goPackagePath}
go generate ./core/controlplane/config
go generate ./core/nodepool/config
go generate ./core/root/config
)'';

buildFlagsArray = ''
-ldflags=-X github.com/coreos/kube-aws/core/controlplane/cluster.VERSION=v${version}
'';

meta = {
description = "Tool for deploying kubernetes on aws using coreos";
license = licenses.asl20;
homepage = https://github.com/coreos/coreos-kubernetes;
maintainers = with maintainers; [offline];
platforms = with platforms; linux;
platforms = with platforms; unix;
};
}

2 comments on commit 25e75cd

@copumpkin
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @offlinehacker 😄

@offlinehacker
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool, tnx :)

Please sign in to comment.