mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
commit
1f593e0365
1 changed files with 6 additions and 5 deletions
|
@ -6,22 +6,23 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "k0sctl";
|
||||
version = "0.15.2";
|
||||
version = "0.15.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "k0sproject";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-pti52JlnIxinKg2DxNfLewoJuhMohsAVmHgvR2N5shg=";
|
||||
sha256 = "sha256-sMMYuE/KIWScZTCuzW9WQpCDHI+Og1zRxGlZzOuHgNo=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-K4/sIHWVe1Wj8LJgrqfoOg1hHXvH3HEgU5vq82tzMSk=";
|
||||
vendorSha256 = "sha256-6UWRh0NHFr7adJJSmrfTjzXH75Dmjed/+KxH6Kz//jk=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/k0sproject/k0sctl/version.Environment=production"
|
||||
"-X github.com/k0sproject/k0sctl/version.Version=${version}"
|
||||
"-X github.com/carlmjohnson/versioninfo.Version=${version}"
|
||||
"-X github.com/carlmjohnson/versioninfo.Revision=${version}"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
@ -37,6 +38,6 @@ buildGoModule rec {
|
|||
description = "A bootstrapping and management tool for k0s clusters.";
|
||||
homepage = "https://k0sproject.io/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ nickcao ];
|
||||
maintainers = with maintainers; [ nickcao qjoly ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue