1{ lib
2, buildGoModule
3, fetchFromGitHub
4}:
5
6buildGoModule rec {
7 pname = "gobuster";
8 version = "3.6.0";
9
10 src = fetchFromGitHub {
11 owner = "OJ";
12 repo = "gobuster";
13 rev = "refs/tags/v${version}";
14 hash = "sha256-LZL9Zje2u0v6iAQinfjflvusV57ys5J5Il6Q7br3Suc=";
15 };
16
17 vendorHash = "sha256-w+G5PsWXhKipjYIHtz633sia+Wg9FSFVpcugEl8fp0E=";
18
19 ldflags = [
20 "-s"
21 "-w"
22 ];
23
24 meta = with lib; {
25 description = "Tool used to brute-force URIs, DNS subdomains, Virtual Host names on target web servers";
26 homepage = "https://github.com/OJ/gobuster";
27 changelog = "https://github.com/OJ/gobuster/releases/tag/v${version}";
28 license = licenses.asl20;
29 maintainers = with maintainers; [ fab pamplemousse ];
30 };
31}