Merge pull request #267411 from claudiiii/feat/k9s-update
k9s: 0.28.0 -> 0.28.2
This commit is contained in:
commit
37fa3e8d78
1 changed files with 11 additions and 8 deletions
|
@ -1,14 +1,14 @@
|
|||
{ stdenv, lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, k9s }:
|
||||
{ stdenv, lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, nix-update-script, k9s }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "k9s";
|
||||
version = "0.28.0";
|
||||
version = "0.28.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "derailed";
|
||||
repo = "k9s";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-qFZLl37Y9g9LMRnWacwz46cgjVreLg2WyWZrSj3T4ok=";
|
||||
sha256 = "sha256-3ij77aBNufSEP3wf8wtQ/aBehE45fwrgofCmyXxuyPM=";
|
||||
};
|
||||
|
||||
ldflags = [
|
||||
|
@ -20,7 +20,7 @@ buildGoModule rec {
|
|||
|
||||
tags = [ "netgo" ];
|
||||
|
||||
vendorHash = "sha256-TfU1IzTdrWQpK/YjQQImRGeo7byaXUI182xSed+21PU=";
|
||||
vendorHash = "sha256-kgi5ZfbjkSiJ/uZkfpeMhonSt/4sO3RKARpoww1FsTo=";
|
||||
|
||||
# TODO investigate why some config tests are failing
|
||||
doCheck = !(stdenv.isDarwin && stdenv.isAarch64);
|
||||
|
@ -28,11 +28,14 @@ buildGoModule rec {
|
|||
preCheck = "export HOME=$(mktemp -d)";
|
||||
# For arch != x86
|
||||
# {"level":"fatal","error":"could not create any of the following paths: /homeless-shelter/.config, /etc/xdg","time":"2022-06-28T15:52:36Z","message":"Unable to create configuration directory for k9s"}
|
||||
passthru.tests.version = testers.testVersion {
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = k9s;
|
||||
command = "HOME=$(mktemp -d) k9s version -s";
|
||||
inherit version;
|
||||
};
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
postInstall = ''
|
||||
|
|
Loading…
Reference in a new issue