trufflehog: add version test
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildGoModule
|
||||
, testers
|
||||
, trufflehog
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@@ -29,6 +31,12 @@ buildGoModule rec {
|
||||
rm $out/bin/{generate,snifftest}
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = trufflehog;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Find credentials all over the place";
|
||||
homepage = "https://github.com/trufflesecurity/trufflehog";
|
||||
|
||||
Reference in New Issue
Block a user