Skip to content

Commit

Permalink
trufflehog: 3.84.1 -> 3.84.2 (#361777)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored Dec 5, 2024
2 parents e606b0f + f85ff70 commit 07dc9fe
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions pkgs/tools/security/trufflehog/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,26 @@
lib,
fetchFromGitHub,
buildGoModule,
testers,
trufflehog,
versionCheckHook,
}:

buildGoModule rec {
pname = "trufflehog";
version = "3.84.1";
version = "3.84.2";

src = fetchFromGitHub {
owner = "trufflesecurity";
repo = "trufflehog";
rev = "refs/tags/v${version}";
hash = "sha256-wwNef5cP9f+kSHkCFYaB5y6sMqVPRqijnzj4gzU2J/E=";
hash = "sha256-NpWXjZstFpl0oZhzMnCFt7IFyWfpJybGaeyOSxjVPWY=";
};

vendorHash = "sha256-awfnzRN6px+DnCU2/8bN1gX4JFJOXgAwsDSlHNb22oU=";
vendorHash = "sha256-s4oks1OP9qN/2JMN6TI36mBWvGXE2HnDHFAMCRFVB1w=";

proxyVendor = true;

nativeInstallCheckInputs = [ versionCheckHook ];

ldflags = [
"-s"
"-w"
Expand All @@ -34,9 +35,9 @@ buildGoModule rec {
rm $out/bin/{generate,snifftest}
'';

passthru = {
tests.version = testers.testVersion { package = trufflehog; };
};
doInstallCheck = true;

versionCheckProgramArg = [ "--version" ];

meta = with lib; {
description = "Find credentials all over the place";
Expand Down

0 comments on commit 07dc9fe

Please sign in to comment.