nixpkgs/pkgs/tools/security/gomapenum/default.nix

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

30 lines
657 B
Nix
Raw Normal View History

2021-12-12 20:48:47 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "gomapenum";
2022-03-04 07:52:54 +00:00
version = "1.1.0";
2021-12-12 20:48:47 +00:00
src = fetchFromGitHub {
owner = "nodauf";
repo = "GoMapEnum";
rev = "v${version}";
2022-03-04 07:52:54 +00:00
sha256 = "sha256-a0JpHk5pUe+MkcmJl871JwkOfFDg3S4yOzFIeXCReLE=";
2021-12-12 20:48:47 +00:00
};
2022-03-04 07:52:54 +00:00
vendorSha256 = "sha256-5C0dDY/42H8oHNdQaKYiuqpi2QqqgHC7VMO/0kFAofY=";
2021-12-12 20:48:47 +00:00
postInstall = ''
mv $out/bin/src $out/bin/$pname
'';
meta = with lib; {
description = "Tools for user enumeration and password bruteforce";
homepage = "https://github.com/nodauf/GoMapEnum";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}