mirror of
https://github.com/anotherhadi/nur-packages.git
synced 2026-10-05 11:18:25 +02:00
[37mWeekly GitHub Action that opens a PR when new releases are available.[0m [37mAlso bumps github-recon 1.5.3 → 1.5.6.[0m
36 lines
904 B
Nix
36 lines
904 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "github-recon";
|
|
version = "1.5.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "anotherhadi";
|
|
repo = "github-recon";
|
|
rev = "v${version}";
|
|
hash = "sha256-5kbHFRfJpUk8qnfPxy6Ca65DtYOuI6Z8nwZiUWEK5dM=";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|