2024-01-25 14:12:00 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
2024-06-20 14:57:18 +00:00
|
|
|
, buildGoModule
|
2024-01-25 14:12:00 +00:00
|
|
|
}:
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
buildGoModule rec {
|
2024-01-25 14:12:00 +00:00
|
|
|
pname = "assetfinder";
|
|
|
|
version = "0.1.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tomnomnom";
|
|
|
|
repo = "assetfinder";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-7+YF1VXBcFehKw9JzurmXNu8yeZPdqfQEuaqwtR4AuA=";
|
|
|
|
};
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
postPatch = ''
|
|
|
|
go mod init github.com/tomnomnom/assetfinder
|
|
|
|
'';
|
|
|
|
|
|
|
|
vendorHash = null;
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/tomnomnom/assetfinder";
|
|
|
|
description = "Find domains and subdomains related to a given domain";
|
|
|
|
mainProgram = "assetfinder";
|
|
|
|
maintainers = with maintainers; [ shard7 ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
sourceProvenance = with sourceTypes; [ fromSource binaryNativeCode ];
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
};
|
|
|
|
}
|