btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / se / secrets-extractor / package.nix
blobb8118e6cf95cea4c408dfc5e120c6c3d548bac57
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 , libpcap
5 }:
7 buildGoModule rec {
8   pname = "secrets-extractor";
9   version = "1.0.1";
11   src = fetchFromGitHub {
12     owner = "Xenios91";
13     repo = "Secrets-Extractor";
14     rev = "v${version}";
15     hash = "sha256-cwEG0cXlyhrUSQAuZ/5KVqJtez13GvZghabsooXCM/U=";
16   };
18   vendorHash = "sha256-KhAaBNSpFu7LAWiHCWD1OssexW9N96ArDb7Oo1AaiWI=";
20   buildInputs = [
21     libpcap
22   ];
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   };