Skip to content

Commit

Permalink
kics: 2.1.2 -> 2.1.3 (#348560)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored Oct 16, 2024
2 parents 6c956c2 + 909d333 commit 4752352
Showing 1 changed file with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions pkgs/tools/admin/kics/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
{ lib
, buildGoModule
, fetchFromGitHub
, testers
, kics
{
lib,
buildGoModule,
fetchFromGitHub,
kics,
testers,
}:

buildGoModule rec {
pname = "kics";
version = "2.1.2";
version = "2.1.3";

src = fetchFromGitHub {
owner = "Checkmarx";
repo = "kics";
rev = "v${version}";
hash = "sha256-UTDqsTW/niTvSTYInM5UD9f7RU3f5R4etuLvoTmNn/M=";
rev = "refs/tags/v${version}";
hash = "sha256-/trhDDY2jyN0o92fjy/ScEbYpcuBPPIaHx+wNW3cWA0=";
};

vendorHash = "sha256-nUNpiXta+Om0Lmd9z0uaCctv2uBrPDsZ1fhHcd8sSWs=";
vendorHash = "sha256-coX8BenRrGijErDNheD9+vZLOKzMXkcwhIa3BuxrOCM=";

subPackages = [ "cmd/console" ];

Expand All @@ -25,9 +26,10 @@ buildGoModule rec {
'';

ldflags = [
"-s" "-w"
"-X github.com/Checkmarx/kics/v2/internal/constants.SCMCommit=${version}"
"-X github.com/Checkmarx/kics/v2/internal/constants.Version=${version}"
"-s"
"-w"
"-X=github.com/Checkmarx/kics/v2/internal/constants.SCMCommit=${version}"
"-X=github.com/Checkmarx/kics/v2/internal/constants.Version=${version}"
];

passthru.tests.version = testers.testVersion {
Expand All @@ -36,11 +38,14 @@ buildGoModule rec {
};

meta = with lib; {
description = ''
Find security vulnerabilities, compliance issues, and infrastructure misconfigurations early in the development
cycle of your infrastructure-as-code with KICS by Checkmarx.
description = "Tool to check for vulnerabilities and other issues";
longDescription = ''
Find security vulnerabilities, compliance issues, and
infrastructure misconfigurations early in the development
cycle of your infrastructure-as-code.
'';
homepage = "https://github.com/Checkmarx/kics";
changelog = "https://github.com/Checkmarx/kics/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ patryk4815 ];
mainProgram = "kics";
Expand Down

0 comments on commit 4752352

Please sign in to comment.