diff --git a/pkgs/development/tools/kube-aws/default.nix b/pkgs/development/tools/kube-aws/default.nix new file mode 100644 index 000000000000..0a6d0ba32210 --- /dev/null +++ b/pkgs/development/tools/kube-aws/default.nix @@ -0,0 +1,30 @@ +{ stdenv, lib, fetchFromGitHub, buildGoPackage }: + +with lib; + +buildGoPackage rec { + name = "kube-aws-${version}"; + version = "0.8.1"; + + goPackagePath = "github.com/coreos/coreos-kubernetes"; + + src = fetchFromGitHub { + owner = "coreos"; + repo = "coreos-kubernetes"; + rev = "v${version}"; + sha256 = "067nc525km0f37w5km44fs5pr22a6zz3lkdwwg2akb4hhg6f45c2"; + }; + + preBuild = '' + (cd go/src/github.com/coreos/coreos-kubernetes + go generate multi-node/aws/pkg/config/config.go) + ''; + + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fb00de4d106a..4dee34f2fa04 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6507,6 +6507,8 @@ in kcov = callPackage ../development/tools/analysis/kcov { }; + kube-aws = callPackage ../development/tools/kube-aws { }; + lcov = callPackage ../development/tools/analysis/lcov { }; leiningen = callPackage ../development/tools/build-managers/leiningen { };