Merge pull request #113145 from fabaff/secretscanner

secretscanner: init at 20210214-42a38f9
This commit is contained in:
Sandro 2021-02-19 14:07:10 +01:00 committed by GitHub
commit b8f6a927f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

@ -0,0 +1,37 @@
{ lib
, buildGoModule
, fetchFromGitHub
, hyperscan
, pkg-config
}:
buildGoModule rec {
pname = "secretscanner";
version = "20210214-${lib.strings.substring 0 7 rev}";
rev = "42a38f9351352bf6240016b5b93d971be35cad46";
src = fetchFromGitHub {
owner = "deepfence";
repo = "SecretScanner";
inherit rev;
sha256 = "0yga71f7bx5a3hj5agr88pd7j8jnxbwqm241fhrvv8ic4sx0mawg";
};
vendorSha256 = "0b7qa83iqnigihgwlqsxi28n7d9h0dk3wx1bqvhn4k01483cipsd";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ hyperscan ];
postInstall = ''
mv $out/bin/SecretScanner $out/bin/$pname
'';
meta = with lib; {
description = "Tool to find secrets and passwords in container images and file systems";
homepage = "https://github.com/deepfence/SecretScanner";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

@ -24852,6 +24852,8 @@ in
seafile-client = libsForQt5.callPackage ../applications/networking/seafile-client { };
secretscanner = callPackage ../tools/security/secretscanner { };
sent = callPackage ../applications/misc/sent { };
seq24 = callPackage ../applications/audio/seq24 { };