nixpkgs/pkgs/by-name/cf/cf-hero/package.nix
Fabian Affolter ae1dc0c576 cf-hero: init at 1.0.4
Tool that uses multiple data sources to discover the origin IP
addresses of Cloudflare-protected web applications

https://github.com/musana/CF-Hero
2025-07-08 08:32:15 +02:00

35 lines
895 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule (finalAttrs: {
pname = "cf-hero";
version = "1.0.4";
src = fetchFromGitHub {
owner = "musana";
repo = "CF-Hero";
tag = "v${finalAttrs.version}";
hash = "sha256-n0kcapHBz6Dap6KKJByCwBZmXmcO/aK88X78Yit6rx4=";
};
vendorHash = "sha256-Yf+iZ3UIpP9EtOWW1jh3h3zTFK1D7mcOh113Q4fbAhA=";
ldflags = [
"-s"
"-w"
];
meta = {
description = "Tool that uses multiple data sources to discover the origin IP addresses of Cloudflare-protected web applications";
homepage = "https://github.com/musana/CF-Hero";
changelog = "https://github.com/musana/CF-Hero/releases/tag/${finalAttrs.src.tag}";
# No licensing details present, https://github.com/musana/CF-Hero/issues/16
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "cf-hero";
};
})