13 src = fetchFromGitHub {
16 rev = "refs/tags/v${version}";
17 hash = "sha256-/trhDDY2jyN0o92fjy/ScEbYpcuBPPIaHx+wNW3cWA0=";
20 vendorHash = "sha256-coX8BenRrGijErDNheD9+vZLOKzMXkcwhIa3BuxrOCM=";
22 subPackages = [ "cmd/console" ];
25 mv $out/bin/console $out/bin/kics
31 "-X=github.com/Checkmarx/kics/v2/internal/constants.SCMCommit=${version}"
32 "-X=github.com/Checkmarx/kics/v2/internal/constants.Version=${version}"
35 passthru.tests.version = testers.testVersion {
37 command = "kics version";
41 description = "Tool to check for vulnerabilities and other issues";
43 Find security vulnerabilities, compliance issues, and
44 infrastructure misconfigurations early in the development
45 cycle of your infrastructure-as-code.
47 homepage = "https://github.com/Checkmarx/kics";
48 changelog = "https://github.com/Checkmarx/kics/releases/tag/v${version}";
49 license = licenses.asl20;
50 maintainers = with maintainers; [ patryk4815 ];