depot/third_party/nixpkgs/pkgs/by-name/as/assetfinder/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

32 lines
767 B
Nix

{ lib
, fetchFromGitHub
, buildGoModule
}:
buildGoModule rec {
pname = "assetfinder";
version = "0.1.1";
src = fetchFromGitHub {
owner = "tomnomnom";
repo = "assetfinder";
rev = "v${version}";
hash = "sha256-7+YF1VXBcFehKw9JzurmXNu8yeZPdqfQEuaqwtR4AuA=";
};
postPatch = ''
go mod init github.com/tomnomnom/assetfinder
'';
vendorHash = null;
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 ];
};
}