nixpkgs-suyu/pkgs/tools/networking/subfinder/default.nix

36 lines
878 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "subfinder";
version = "2.5.8";
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = pname;
rev = "v${version}";
sha256 = "sha256-/q6ES1fW9/vxe03w73VyAHfOZNK6g5hxwi3qhxCiN6M=";
};
vendorHash = "sha256-sUkSxpWDqBe15BFVGNHTF1lV2mXZ0kjevMvdHtuNjXs=";
modRoot = "./v2";
subPackages = [
"cmd/subfinder/"
];
meta = with lib; {
description = "Subdomain discovery tool";
longDescription = ''
SubFinder is a subdomain discovery tool that discovers valid
subdomains for websites. Designed as a passive framework to be
useful for bug bounties and safe for penetration testing.
'';
homepage = "https://github.com/projectdiscovery/subfinder";
license = licenses.mit;
maintainers = with maintainers; [ fpletz Br1ght0ne ];
};
}