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

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

43 lines
973 B
Nix
Raw Normal View History

2021-06-05 14:19:15 +02:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
2018-07-15 19:00:54 +02:00
2021-06-05 14:19:15 +02:00
buildGoModule rec {
2019-12-08 11:07:27 +01:00
pname = "subfinder";
version = "2.6.6";
2018-07-15 19:00:54 +02:00
src = fetchFromGitHub {
2019-12-08 11:07:27 +01:00
owner = "projectdiscovery";
2024-03-28 09:44:42 +01:00
repo = "subfinder";
rev = "refs/tags/v${version}";
hash = "sha256-A9qSrgQB7AE+9S3SW1eXRGA65RfEzrjYR2XgU8e+zMk=";
2018-07-15 19:00:54 +02:00
};
vendorHash = "sha256-j2WO+LLvioBB2EU/6ahyTn9H614Dmiskm0p7GOgqYNY=";
2021-06-05 14:19:15 +02:00
modRoot = "./v2";
subPackages = [
"cmd/subfinder/"
];
2018-07-15 19:00:54 +02:00
2024-03-28 09:44:42 +01:00
ldflags = [
"-w"
"-s"
];
meta = with lib; {
2018-07-15 19:00:54 +02: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 11:07:27 +01:00
homepage = "https://github.com/projectdiscovery/subfinder";
2018-07-15 19:00:54 +02:00
license = licenses.mit;
maintainers = with maintainers; [ fpletz Br1ght0ne Misaka13514 ];
2024-02-11 03:19:15 +01:00
mainProgram = "subfinder";
2018-07-15 19:00:54 +02:00
};
}