Merge pull request #253485 from fabaff/kubescape-bump

kubescape: 2.9.0 -> 2.9.1

authored by

Fabian Affolter and committed by
GitHub
678414e7 c1428e81

+10 -11
+10 -11
pkgs/tools/security/kubescape/default.nix
··· 2 , buildGoModule 3 , fetchFromGitHub 4 , installShellFiles 5 }: 6 7 buildGoModule rec { 8 pname = "kubescape"; 9 - version = "2.9.0"; 10 11 src = fetchFromGitHub { 12 owner = "kubescape"; 13 repo = pname; 14 rev = "refs/tags/v${version}"; 15 - hash = "sha256-rZlM+SerEE2RNxnituPK5JB7Al0/KtFyGHg3UeCfDNk="; 16 fetchSubmodules = true; 17 }; 18 19 - vendorHash = "sha256-gRLCkjW8yY5FT2J7tNZQwEbhrdUMrj4Xwybe/coX0UY="; 20 21 nativeBuildInputs = [ 22 installShellFiles ··· 61 --zsh <($out/bin/kubescape completion zsh) 62 ''; 63 64 - doInstallCheck = true; 65 - 66 - installCheckPhase = '' 67 - runHook preInstallCheck 68 - $out/bin/kubescape --help 69 - $out/bin/kubescape version | grep "v${version}" 70 - runHook postInstallCheck 71 - ''; 72 73 meta = with lib; { 74 description = "Tool for testing if Kubernetes is deployed securely";
··· 2 , buildGoModule 3 , fetchFromGitHub 4 , installShellFiles 5 + , kubescape 6 + , testers 7 }: 8 9 buildGoModule rec { 10 pname = "kubescape"; 11 + version = "2.9.1"; 12 13 src = fetchFromGitHub { 14 owner = "kubescape"; 15 repo = pname; 16 rev = "refs/tags/v${version}"; 17 + hash = "sha256-FKWR3pxFtJBEa14Mn3RKsLvrliHaj6TuF4F2JLtw2qA="; 18 fetchSubmodules = true; 19 }; 20 21 + vendorHash = "sha256-zcv8oYm6srwkwT3pUECtTewyqVVpCIcs3i0VRTRft68="; 22 23 nativeBuildInputs = [ 24 installShellFiles ··· 63 --zsh <($out/bin/kubescape completion zsh) 64 ''; 65 66 + passthru.tests.version = testers.testVersion { 67 + package = kubescape; 68 + command = "kubescape version"; 69 + version = "v${version}"; 70 + }; 71 72 meta = with lib; { 73 description = "Tool for testing if Kubernetes is deployed securely";