blob: f73df884f226ff9b51f36f4eded765ca53681078 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "rke";
version = "1.5.1";
src = fetchFromGitHub {
owner = "rancher";
repo = pname;
rev = "v${version}";
hash = "sha256-9Oxl77yDoWckdtddMgyNQIGgjMGA/5+B3qyyA2pQ3DY=";
};
vendorHash = "sha256-eH4FBfX9LNb1UgSRsYSd1Fn2Ju+cL6t64u+/sf9uzNM=";
subPackages = [ "." ];
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 ];
};
}
|