2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
2020-12-29 15:07:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gau";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "2.2.3";
|
2020-12-29 15:07:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lc";
|
2024-05-15 15:35:15 +00:00
|
|
|
repo = "gau";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-1sF33uat6nwtTaXbZzO8YF4jewyQJ6HvI2l/zyTrJsg=";
|
2020-12-29 15:07:52 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
vendorHash = "sha256-nhsGhuX5AJMHg+zQUt1G1TwVgMCxnuJ2T3uBrx7bJNs=";
|
2020-12-29 15:07:52 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
ldflags = [
|
|
|
|
"-w"
|
|
|
|
"-s"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-12-29 15:07:52 +00:00
|
|
|
description = "Tool to fetch known URLs";
|
|
|
|
longDescription = ''
|
|
|
|
getallurls (gau) fetches known URLs from various sources for any
|
|
|
|
given domain.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/lc/gau";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-05-15 15:35:15 +00:00
|
|
|
mainProgram = "gau";
|
2020-12-29 15:07:52 +00:00
|
|
|
};
|
|
|
|
}
|