Merge pull request #16024 from rushmorem/k8s-update
kubernetes: v1.0.3 -> v1.2.4
This commit is contained in:
commit
97c64f560c
2 changed files with 8 additions and 8 deletions
|
@ -2,21 +2,21 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "kubernetes-${version}";
|
name = "kubernetes-${version}";
|
||||||
version = "1.0.3";
|
version = "1.2.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "GoogleCloudPlatform";
|
owner = "kubernetes";
|
||||||
repo = "kubernetes";
|
repo = "kubernetes";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "12wqw9agiz07wlw1sd0n41fn6xf74zn5sv37hslfa77w2d4ri5yb";
|
sha256 = "1a3y0f1l008ywkwwygg9vn2rb722c54i3pbgqks38gw1yyvgbiih";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ makeWrapper which go iptables rsync ];
|
buildInputs = [ makeWrapper which go iptables rsync ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
GOPATH=$(pwd):$(pwd)/Godeps/_workspace
|
GOPATH=$(pwd):$(pwd)/Godeps/_workspace
|
||||||
mkdir -p $(pwd)/Godeps/_workspace/src/github.com/GoogleCloudPlatform
|
mkdir -p $(pwd)/Godeps/_workspace/src/k8s.io
|
||||||
ln -s $(pwd) $(pwd)/Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes
|
ln -s $(pwd) $(pwd)/Godeps/_workspace/src/k8s.io/kubernetes
|
||||||
|
|
||||||
substituteInPlace "hack/lib/golang.sh" --replace "_cgo" ""
|
substituteInPlace "hack/lib/golang.sh" --replace "_cgo" ""
|
||||||
patchShebangs ./hack
|
patchShebangs ./hack
|
||||||
|
@ -46,9 +46,9 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Open source implementation of container cluster management";
|
description = "Production-Grade Container Scheduling and Management";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
homepage = https://github.com/GoogleCloudPlatform;
|
homepage = http://kubernetes.io;
|
||||||
maintainers = with maintainers; [offline];
|
maintainers = with maintainers; [offline];
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -13178,7 +13178,7 @@ in
|
||||||
ksuperkey = callPackage ../tools/X11/ksuperkey { };
|
ksuperkey = callPackage ../tools/X11/ksuperkey { };
|
||||||
|
|
||||||
kubernetes = callPackage ../applications/networking/cluster/kubernetes {
|
kubernetes = callPackage ../applications/networking/cluster/kubernetes {
|
||||||
go = go_1_4;
|
go = go_1_6;
|
||||||
};
|
};
|
||||||
|
|
||||||
lame = callPackage ../development/libraries/lame { };
|
lame = callPackage ../development/libraries/lame { };
|
||||||
|
|
Loading…
Reference in a new issue