depot/third_party/nixpkgs/pkgs/tools/security/secrets-extractor/default.nix
Default email 889482aab3 Project import generated by Copybara.
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
2022-06-26 12:26:21 +02:00

31 lines
709 B
Nix

{ 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 ];
};
}