12 pname = "secretscanner";
15 src = fetchFromGitHub {
17 repo = "SecretScanner";
18 rev = "refs/tags/v${version}";
19 fetchSubmodules = true;
20 hash = "sha256-lTUZLuEiC9xpHYWn3uv4ZtbvHX6ETsjxacjd/O0kU8I=";
23 vendorHash = "sha256-lB+fiSdflIYGw0hMN0a9IOtRcJwYEUPQqaeU7mAfSQs=";
26 "./agent-plugins-grpc/proto" # No need to build submodules
42 make -C agent-plugins-grpc go
46 mv $out/bin/SecretScanner $out/bin/$pname
50 description = "Tool to find secrets and passwords in container images and file systems";
51 mainProgram = "secretscanner";
52 homepage = "https://github.com/deepfence/SecretScanner";
53 changelog = "https://github.com/deepfence/SecretScanner/releases/tag/v${version}";
54 platforms = [ "x86_64-linux" ];
55 license = with licenses; [ mit ];
56 maintainers = with maintainers; [ fab ];