lol

Merge pull request #200468 from patryk4815/patch-1

kics: add version test

authored by

Bobby Rong and committed by
GitHub
5a9b4e6c d46b10c6

+12 -1
+12 -1
pkgs/tools/admin/kics/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub, lib }: 1 + { stdenv 2 + , buildGoModule 3 + , fetchFromGitHub 4 + , lib 5 + , testers 6 + , kics 7 + }: 2 8 3 9 buildGoModule rec { 4 10 pname = "kics"; ··· 24 30 "-X github.com/Checkmarx/kics/internal/constant.SCMCommits=${version}" 25 31 "-X github.com/Checkmarx/kics/internal/constants.Version=${version}" 26 32 ]; 33 + 34 + passthru.tests.version = testers.testVersion { 35 + package = kics; 36 + command = "kics version"; 37 + }; 27 38 28 39 meta = with lib; { 29 40 description = ''