nixpkgs/pkgs/tools/security/cloudbrute/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

32 lines
802 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "cloudbrute";
version = "1.0.7";
src = fetchFromGitHub {
owner = "0xsha";
repo = "CloudBrute";
rev = "v${version}";
hash = "sha256-L233VdQolSPDPDXQALLvF5seb3peHiLRiZuj2RqdaRU=";
};
vendorHash = "sha256-SRk5kEUVmY3IJSB/XwchqWGnaXLQUoisx6KlVzMHdjg=";
meta = with lib; {
description = "Cloud enumeration tool";
mainProgram = "cloudbrute";
longDescription = ''
A tool to find a company (target) infrastructure, files, and apps on
the top cloud providers (Amazon, Google, Microsoft, DigitalOcean,
Alibaba, Vultr, Linode).
'';
homepage = "https://github.com/0xsha/CloudBrute";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}