Permalink
Browse files

kube-router: init at 0.2.3

  • Loading branch information...
johanot authored and worldofpeace committed Dec 3, 2018
1 parent 904e185 commit 015b2b1a3568a0d59a87d4a1a27201e57fb391cc
Showing with 34 additions and 0 deletions.
  1. +32 −0 pkgs/applications/networking/cluster/kube-router/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
@@ -0,0 +1,32 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "kube-router-${version}";
version = "0.2.3";
rev = "v${version}";
goPackagePath = "github.com/cloudnativelabs/kube-router";
src = fetchFromGitHub {
inherit rev;
owner = "cloudnativelabs";
repo = "kube-router";
sha256 = "1dsr76dq6sycwgh75glrcb4scv52lrrd0aivskhc7mwq30plafcj";
};
buildFlagsArray = ''
-ldflags=
-X
${goPackagePath}/pkg/cmd.version=${version}
-X
${goPackagePath}/pkg/cmd.buildDate=Nix
'';
meta = with stdenv.lib; {
homepage = "https://www.kube-router.io/";
description = "All-in-one router, firewall and service proxy for Kubernetes";
license = licenses.asl20;
maintainers = with maintainers; [ colemickens johanot ];
platforms = platforms.linux;
};
}
@@ -3675,6 +3675,8 @@ in
kdiff3 = libsForQt5.callPackage ../tools/text/kdiff3 { };
kube-router = callPackage ../applications/networking/cluster/kube-router { };
kwalletcli = libsForQt5.callPackage ../tools/security/kwalletcli { };
peruse = libsForQt5.callPackage ../tools/misc/peruse { };

0 comments on commit 015b2b1

Please sign in to comment.