mirror of
https://github.com/anotherhadi/nur-packages.git
synced 2026-10-05 19:28:27 +02:00
init
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "github-recon";
|
||||
version = "1.5.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anotherhadi";
|
||||
repo = "github-recon";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-oHzXuxf4sikMcR+rB/1QZQytoNpFt9ZLMohWO4ZbK+0=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-AD0h0k2n8gPqSBz5qqb0ZON/jWiSEWpeO97xR7cYSy8=";
|
||||
|
||||
subPackages = ["cmd"];
|
||||
|
||||
ldflags = ["-s" "-w"];
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/cmd $out/bin/github-recon
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Retrieves and aggregates public OSINT data about a GitHub user using Go and the GitHub API. Finds hidden emails in commit history, previous usernames, friends, other GitHub accounts, and more.";
|
||||
homepage = "https://github.com/anotherhadi/github-recon";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [];
|
||||
mainProgram = "github-recon";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user