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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
880 B
Nix
Raw Normal View History

2021-06-05 12:19:15 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
2018-07-15 17:00:54 +00:00
2021-06-05 12:19:15 +00:00
buildGoModule rec {
2019-12-08 10:07:27 +00:00
pname = "subfinder";
2022-04-09 21:08:42 +00:00
version = "2.5.1";
2018-07-15 17:00:54 +00:00
src = fetchFromGitHub {
2019-12-08 10:07:27 +00:00
owner = "projectdiscovery";
repo = pname;
rev = "v${version}";
2022-04-09 21:08:42 +00:00
sha256 = "sha256-t5bIIb31gb6f7hVeiTmMut0wXl40/Du4W9lnB49jlFA=";
2018-07-15 17:00:54 +00:00
};
2022-04-09 21:08:42 +00:00
vendorSha256 = "sha256-lyqjODNk7R6mvSl/I1zFgXvs4m60D4gwfgJ6ocoOHhc=";
2021-06-05 12:19:15 +00:00
modRoot = "./v2";
subPackages = [
"cmd/subfinder/"
];
2018-07-15 17:00:54 +00:00
meta = with lib; {
2018-07-15 17:00:54 +00:00
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.
'';
2019-12-08 10:07:27 +00:00
homepage = "https://github.com/projectdiscovery/subfinder";
2018-07-15 17:00:54 +00:00
license = licenses.mit;
maintainers = with maintainers; [ fpletz Br1ght0ne ];
2018-07-15 17:00:54 +00:00
};
}