Merge pull request #224120 from stefan-bordei/submit/rke2-add-package
rke2:init at 1.26.3+rke2r1
This commit is contained in:
commit
8034ac8f20
3 changed files with 35 additions and 0 deletions
|
@ -17119,6 +17119,12 @@
|
|||
githubId = 20029431;
|
||||
name = "Zyansheep";
|
||||
};
|
||||
zygot = {
|
||||
email = "stefan.bordei13@gmail.com";
|
||||
github = "stefan-bordei";
|
||||
githubId = 71881325;
|
||||
name = "Stefan Bordei";
|
||||
};
|
||||
zzamboni = {
|
||||
email = "diego@zzamboni.org";
|
||||
github = "zzamboni";
|
||||
|
|
27
pkgs/applications/networking/cluster/rke2/default.nix
Normal file
27
pkgs/applications/networking/cluster/rke2/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "rke2";
|
||||
version = "1.26.3+rke2r1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rancher";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-MC3INsuXV2JmazdXOAAslFlApvql6uOnOkWV8u0diOw=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-W9Phc1JYa3APAKvI34RWqMy4xfmwgX3BaOh4bQYFEnU=";
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
ldflags = [ "-s" "-w" "-X github.com/k3s-io/k3s/pkg/version.Version=v${version}" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/rancher/rke2";
|
||||
description = "RKE2, also known as RKE Government, is Rancher's next-generation Kubernetes distribution.";
|
||||
changelog = "https://github.com/rancher/rke2/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ zygot ];
|
||||
};
|
||||
}
|
|
@ -33369,6 +33369,8 @@ with pkgs;
|
|||
|
||||
rke = callPackage ../applications/networking/cluster/rke { };
|
||||
|
||||
rke2 = callPackage ../applications/networking/cluster/rke2 { };
|
||||
|
||||
rocketchat-desktop = callPackage ../applications/networking/instant-messengers/rocketchat-desktop { };
|
||||
|
||||
rofi-unwrapped = callPackage ../applications/misc/rofi { };
|
||||
|
|
Loading…
Reference in a new issue