mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
kube-router: init at 0.2.3
This commit is contained in:
parent
904e1852e1
commit
015b2b1a35
32
pkgs/applications/networking/cluster/kube-router/default.nix
Normal file
32
pkgs/applications/networking/cluster/kube-router/default.nix
Normal file
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user