Skip to content

Commit

Permalink
genzai: init at 1.0 (NixOS#359224)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored Nov 27, 2024
2 parents 46e6c6d + b8c778b commit 9c09b25
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions pkgs/by-name/ge/genzai/package.nix
Original file line number Diff line number Diff line change
@@ -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";
};
}

0 comments on commit 9c09b25

Please sign in to comment.