Merge pull request #310554 from twz123/bump-k0sctl

k0sctl: 0.17.5 -> 0.17.8
This commit is contained in:
Nick Cao 2024-05-11 09:53:56 -04:00 committed by GitHub
commit 0d87d34d5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,20 +2,22 @@
, buildGoModule
, fetchFromGitHub
, installShellFiles
, testers
, k0sctl
}:
buildGoModule rec {
pname = "k0sctl";
version = "0.17.5";
version = "0.17.8";
src = fetchFromGitHub {
owner = "k0sproject";
repo = pname;
rev = "v${version}";
hash = "sha256-NHfS1iJtpt0t2iIqXBETiD4rpA2XzA8eOg5mP4N8El4=";
hash = "sha256-QHTVNrPglNDT9CUQWwc6oD7ttwEUBq8WIX49DiAXf8s=";
};
vendorHash = "sha256-MPTdOcNoveBnHMJ2YHqHuvOHHe6IdisZLc05qViA1YQ=";
vendorHash = "sha256-6Kj1kHKXbbPMr9thkDTmGYbZvCSW7CvSzASpk6agEpI=";
ldflags = [
"-s"
@ -34,6 +36,13 @@ buildGoModule rec {
done
'';
passthru.tests.version = testers.testVersion {
package = k0sctl;
command = "k0sctl version";
# See https://github.com/carlmjohnson/versioninfo/discussions/12
version = "version: (devel)\ncommit: v${version}\n";
};
meta = with lib; {
description = "A bootstrapping and management tool for k0s clusters.";
homepage = "https://k0sproject.io/";