nixpkgs/pkgs/tools/security/gobuster/default.nix
2020-03-21 05:20:00 -05:00

29 lines
705 B
Nix

{ buildGoModule
, fetchFromGitHub
, stdenv
, Security
}:
buildGoModule rec {
pname = "gobuster";
version = "3.0.1";
src = fetchFromGitHub {
owner = "OJ";
repo = "gobuster";
rev = "v${version}";
sha256 = "0q8ighqykh8qyvidnm6az6dc9mp32bbmhkmkqzl1ybbw6paa8pym";
};
modSha256 = "0jq0z5s05vqdvq7v1gdjwlqqwbl1j2rv9f16k52idl50vdiqviql";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "Tool used to brute-force URIs, DNS subdomains, Virtual Host names on target web servers";
homepage = "https://github.com/OJ/gobuster";
license = licenses.asl20;
maintainers = with maintainers; [ pamplemousse ];
};
}