1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "gomapenum";
9 version = "1.1.0";
10
11 src = fetchFromGitHub {
12 owner = "nodauf";
13 repo = "GoMapEnum";
14 rev = "v${version}";
15 sha256 = "sha256-a0JpHk5pUe+MkcmJl871JwkOfFDg3S4yOzFIeXCReLE=";
16 };
17
18 vendorHash = "sha256-5C0dDY/42H8oHNdQaKYiuqpi2QqqgHC7VMO/0kFAofY=";
19
20 postInstall = ''
21 mv $out/bin/src $out/bin/$pname
22 '';
23
24 meta = with lib; {
25 description = "Tools for user enumeration and password bruteforce";
26 mainProgram = "gomapenum";
27 homepage = "https://github.com/nodauf/GoMapEnum";
28 license = with licenses; [ gpl3Only ];
29 maintainers = with maintainers; [ fab ];
30 };
31}