1{ lib
2, buildGoModule
3, fetchFromGitHub
4, libpcap
5}:
6
7buildGoModule rec {
8 pname = "secrets-extractor";
9 version = "1.0.1";
10
11 src = fetchFromGitHub {
12 owner = "Xenios91";
13 repo = "Secrets-Extractor";
14 rev = "v${version}";
15 hash = "sha256-cwEG0cXlyhrUSQAuZ/5KVqJtez13GvZghabsooXCM/U=";
16 };
17
18 vendorHash = "sha256-KhAaBNSpFu7LAWiHCWD1OssexW9N96ArDb7Oo1AaiWI=";
19
20 buildInputs = [
21 libpcap
22 ];
23
24 meta = with lib; {
25 description = "Tool to check packets for secrets";
26 homepage = "https://github.com/Xenios91/Secrets-Extractor";
27 # https://github.com/Xenios91/Secrets-Extractor/issues/1
28 license = with licenses; [ unfree ];
29 maintainers = with maintainers; [ fab ];
30 };
31}