genzai: init at 1.0 (#359224)

This commit is contained in:
Fabian Affolter 2024-11-27 08:03:23 +01:00 committed by GitHub
commit 9c09b2546b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,37 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "genzai";
version = "1.0";
src = fetchFromGitHub {
owner = "umair9747";
repo = "Genzai";
rev = "refs/tags/${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";
};
}