Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
780 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "genzai";
version = "1.0";
src = fetchFromGitHub {
owner = "umair9747";
repo = "Genzai";
tag = version;
hash = "sha256-OTkHPzZcPOYZRzEKrJekrgKE/XfGUDL85RjznmrVZb8=";
};
vendorHash = null;
ldflags = [
"-s"
"-w"
];
postFixup = ''
install -vD *.json -t $out/share
'';
meta = {
description = "Toolkit to help identify IoT related dashboards and scan them for default passwords and vulnerabilities";
homepage = "https://github.com/umair9747/Genzai";
changelog = "https://github.com/umair9747/Genzai/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "genzai";
};
}