commit
a4754caab7
|
@ -1,11 +1,11 @@
|
||||||
{ stdenv, lib, buildGoPackage, fetchFromGitHub, go-bindata, installShellFiles }:
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub, go-bindata, installShellFiles }:
|
||||||
|
|
||||||
let
|
let
|
||||||
goPackagePath = "k8s.io/kops";
|
goPackagePath = "k8s.io/kops";
|
||||||
|
|
||||||
generic = { version, sha256, rev ? version, ...}@attrs:
|
generic = { version, sha256, rev ? version, ... }@attrs:
|
||||||
let attrs' = builtins.removeAttrs attrs ["version" "sha256" "rev"] ; in
|
let attrs' = builtins.removeAttrs attrs [ "version" "sha256" "rev" ]; in
|
||||||
buildGoPackage {
|
buildGoPackage
|
||||||
|
{
|
||||||
pname = "kops";
|
pname = "kops";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
|
@ -42,12 +42,14 @@ let
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Easiest way to get a production Kubernetes up and running";
|
description = "Easiest way to get a production Kubernetes up and running";
|
||||||
homepage = "https://github.com/kubernetes/kops";
|
homepage = "https://github.com/kubernetes/kops";
|
||||||
|
changelog = "https://github.com/kubernetes/kops/tree/master/docs/releases";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ offline zimbatm kampka ];
|
maintainers = with maintainers; [ offline zimbatm kampka ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
} // attrs';
|
} // attrs';
|
||||||
in rec {
|
in
|
||||||
|
rec {
|
||||||
|
|
||||||
mkKops = generic;
|
mkKops = generic;
|
||||||
|
|
||||||
|
@ -57,13 +59,13 @@ in rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
kops_1_17 = mkKops {
|
kops_1_17 = mkKops {
|
||||||
version = "1.17.1";
|
version = "1.17.2";
|
||||||
sha256 = "1km6nwanmhfx8rl1wp445z9ib50jr2f86rd92vilm3q4rs9kig1h";
|
sha256 = "0fmrzjz163hda6sl1jkl7cmg8fw6mmqb9953048jnhmd3w428xlz";
|
||||||
};
|
};
|
||||||
|
|
||||||
kops_1_18 = mkKops rec {
|
kops_1_18 = mkKops rec {
|
||||||
version = "1.18.0";
|
version = "1.18.1";
|
||||||
sha256 = "16zbjxxv08j31y7lhkqx2bnx0pc3r0vpfrlhdjs26z22p5rc4rrh";
|
sha256 = "0jw23vmq2v9czxyansggq4fapz1bcaclmxpw6na4dsn8zcssz320";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue