From 274ff9497437843806a631f05110209546f27dfa Mon Sep 17 00:00:00 2001 From: Jaka Hudoklin Date: Wed, 24 Aug 2016 14:25:57 +0200 Subject: [PATCH] kube-aws: init at 0.8.1 --- pkgs/development/tools/kube-aws/default.nix | 30 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/tools/kube-aws/default.nix 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 81e68056a2ac..e21019e71f18 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6513,6 +6513,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 { };