nixpkgs/pkgs/tools/security/gobuster/default.nix
2023-08-20 13:26:27 +02:00

32 lines
740 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "gobuster";
version = "3.6.0";
src = fetchFromGitHub {
owner = "OJ";
repo = "gobuster";
rev = "refs/tags/v${version}";
hash = "sha256-LZL9Zje2u0v6iAQinfjflvusV57ys5J5Il6Q7br3Suc=";
};
vendorHash = "sha256-w+G5PsWXhKipjYIHtz633sia+Wg9FSFVpcugEl8fp0E=";
ldflags = [
"-s"
"-w"
];
meta = with lib; {
description = "Tool used to brute-force URIs, DNS subdomains, Virtual Host names on target web servers";
homepage = "https://github.com/OJ/gobuster";
changelog = "https://github.com/OJ/gobuster/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab pamplemousse ];
};
}