nixpkgs/pkgs/applications/networking/cluster/rke/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
769 B
Nix
Raw Normal View History

2022-11-30 04:43:26 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "rke";
2023-04-28 18:23:56 +00:00
version = "1.4.5";
2022-11-30 04:43:26 +00:00
src = fetchFromGitHub {
owner = "rancher";
repo = pname;
rev = "v${version}";
2023-04-28 18:23:56 +00:00
hash = "sha256-ldN0Fqh0V6JziTy5ml/i/un4/1o8MSeIAvrH5EyOeiw=";
2022-11-30 04:43:26 +00:00
};
2023-04-20 07:17:30 +00:00
vendorHash = "sha256-wuEsG2VKU4F/phSqpzUN3wChD93V4AE7poVLJu6kpF0=";
2022-11-30 04:43:26 +00:00
2022-11-30 14:04:49 +00:00
subPackages = [ "." ];
2022-11-30 04:43:26 +00:00
ldflags = [ "-s" "-w" "-X=main.VERSION=v${version}" ];
meta = with lib; {
homepage = "https://github.com/rancher/rke";
description = "An extremely simple, lightning fast Kubernetes distribution that runs entirely within containers";
changelog = "https://github.com/rancher/rke/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ urandom ];
};
}