2024-05-15 08:21:26 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gungnir";
|
2024-09-25 06:28:45 +00:00
|
|
|
version = "1.1.0";
|
2024-05-15 08:21:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "g0ldencybersec";
|
|
|
|
repo = "gungnir";
|
|
|
|
rev = "v${version}";
|
2024-09-25 06:28:45 +00:00
|
|
|
hash = "sha256-iMawBuSPPeJztQ3Pdd2dUKSNaWCbbKcUW/IGBFifyng=";
|
2024-05-15 08:21:26 +00:00
|
|
|
};
|
|
|
|
|
2024-09-25 06:28:45 +00:00
|
|
|
vendorHash = "sha256-2RCIZS8oawaXtAYZDiLgNsco9llWCxNwQcA67F51rag=";
|
2024-05-15 08:21:26 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Command-line tool that continuously monitors certificate transparency (CT) logs for newly issued SSL/TLS certificates";
|
|
|
|
homepage = "https://github.com/g0ldencybersec/gungnir";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ cherrykitten ];
|
|
|
|
mainProgram = "gungnir";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|