mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
ff323ed355
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
32 lines
707 B
Nix
32 lines
707 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=";
|
|
};
|
|
|
|
vendorHash = "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 ];
|
|
};
|
|
}
|