Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
38 lines
795 B
Nix
38 lines
795 B
Nix
{
|
|||
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";
|
|||
};
|
|||
}
|