13 src = fetchFromGitHub {
14 owner = "trufflesecurity";
16 rev = "refs/tags/v${version}";
17 hash = "sha256-r/7mpq5yQCcPoNr4d/3ShR6V+cyX8p2vFcGkiza1WLk=";
20 vendorHash = "sha256-SNhWDGvLAT2vP43x0chvzyjvpku7YGDvA7P+V175gIg=";
27 "-X=github.com/trufflesecurity/trufflehog/v3/pkg/version.BuildVersion=${version}"
30 # Test cases run git clone and require network access
34 rm $out/bin/{generate,snifftest}
38 tests.version = testers.testVersion { package = trufflehog; };
42 description = "Find credentials all over the place";
43 homepage = "https://github.com/trufflesecurity/trufflehog";
44 changelog = "https://github.com/trufflesecurity/trufflehog/releases/tag/v${version}";
45 license = with licenses; [ agpl3Only ];
46 maintainers = with maintainers; [ fab ];