mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
32 lines
770 B
Nix
32 lines
770 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";
|
|
mainProgram = "gobuster";
|
|
homepage = "https://github.com/OJ/gobuster";
|
|
changelog = "https://github.com/OJ/gobuster/releases/tag/v${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ fab pamplemousse ];
|
|
};
|
|
}
|