trufflehog: add version test

This commit is contained in:
figsoda
2023-04-25 11:05:29 -04:00
parent d921f57b57
commit 88045d404c
@@ -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";