Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
37 lines
810 B
Nix
37 lines
810 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "rke";
|
|
version = "1.8.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rancher";
|
|
repo = "rke";
|
|
rev = "v${version}";
|
|
hash = "sha256-qborClm+QF1cVKSPEY+JYEylQ2I+XHkmCd3ez8fdfmk=";
|
|
};
|
|
|
|
vendorHash = "sha256-OWC8OZhORHwntAR2YHd4KfQgB2Wtma6ayBWfY94uOA4=";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X=main.VERSION=v${version}"
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/rancher/rke";
|
|
description = "Extremely simple, lightning fast Kubernetes distribution that runs entirely within containers";
|
|
mainProgram = "rke";
|
|
changelog = "https://github.com/rancher/rke/releases/tag/v${version}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ urandom ];
|
|
};
|
|
}
|