Merge pull request #178172 from fabaff/secrets-extractor
secrets-extractor: init at 1.0.1
This commit is contained in:
commit
6a64c0ef4b
31
pkgs/tools/security/secrets-extractor/default.nix
Normal file
31
pkgs/tools/security/secrets-extractor/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, libpcap
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "secrets-extractor";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Xenios91";
|
||||
repo = "Secrets-Extractor";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-cwEG0cXlyhrUSQAuZ/5KVqJtez13GvZghabsooXCM/U=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-KhAaBNSpFu7LAWiHCWD1OssexW9N96ArDb7Oo1AaiWI=";
|
||||
|
||||
buildInputs = [
|
||||
libpcap
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to check packets for secrets";
|
||||
homepage = "https://github.com/Xenios91/Secrets-Extractor";
|
||||
# https://github.com/Xenios91/Secrets-Extractor/issues/1
|
||||
license = with licenses; [ unfree ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -29601,6 +29601,8 @@ with pkgs;
|
|||
|
||||
seatd = callPackage ../applications/misc/seatd { };
|
||||
|
||||
secrets-extractor = callPackage ../tools/security/secrets-extractor { };
|
||||
|
||||
secretscanner = callPackage ../tools/security/secretscanner { };
|
||||
|
||||
semiphemeral = callPackage ../tools/misc/semiphemeral { };
|
||||
|
|
Loading…
Reference in a new issue