Merge pull request #182841 from patryk4815/feature/init-kics

kics: init at 1.5.12

Changed files
+45
maintainers
pkgs
tools
admin
top-level
+6
maintainers/maintainer-list.nix
···
fingerprint = "196A BFEC 6A1D D1EC 7594 F8D1 F625 47D0 75E0 9767";
}];
};
+
patryk4815 = {
+
email = "patryk.sondej@gmail.com";
+
github = "patryk4815";
+
githubId = 3074260;
+
name = "Patryk Sondej";
+
};
patternspandemic = {
email = "patternspandemic@live.com";
github = "patternspandemic";
+37
pkgs/tools/admin/kics/default.nix
···
+
{ stdenv, buildGoModule, fetchFromGitHub, lib }:
+
+
buildGoModule rec {
+
pname = "kics";
+
version = "1.5.12";
+
+
src = fetchFromGitHub {
+
owner = "Checkmarx";
+
repo = "kics";
+
rev = "v${version}";
+
sha256 = "sha256-jHspStyjq5T9jzYDRYaf2gOI4F/X+h4nDn0PFUOHoBY=";
+
};
+
+
vendorSha256 = "sha256-q5NuuP04kOoLVj210s17fIW2cxrsC/tAyET8YYGai0M=";
+
+
subPackages = [ "cmd/console" ];
+
+
postInstall = ''
+
mv $out/bin/console $out/bin/kics
+
'';
+
+
ldflags = [
+
"-s" "-w"
+
"-X github.com/Checkmarx/kics/internal/constant.SCMCommits=${version}"
+
"-X github.com/Checkmarx/kics/internal/constants.Version=${version}"
+
];
+
+
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.
+
'';
+
homepage = "https://github.com/Checkmarx/kics";
+
license = licenses.asl20;
+
maintainers = with maintainers; [ patryk4815 ];
+
};
+
}
+2
pkgs/top-level/all-packages.nix
···
ssh = openssh;
};
+
kics = callPackage ../tools/admin/kics { };
+
kramdown-asciidoc = callPackage ../tools/typesetting/kramdown-asciidoc { };
lychee = callPackage ../tools/networking/lychee { };