2024-04-17 06:44:45 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
2022-09-27 17:51:37 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "cloudfox";
|
2024-10-17 21:13:35 +00:00
|
|
|
version = "1.15.0";
|
2022-09-27 17:51:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BishopFox";
|
2024-03-16 07:17:33 +00:00
|
|
|
repo = "cloudfox";
|
2023-01-14 09:11:31 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-10-17 21:13:35 +00:00
|
|
|
hash = "sha256-YLZSrBAEf0SXECAdnF2CQAlEd15DJ1Iv+x+RebM5tw4=";
|
2022-09-27 17:51:37 +00:00
|
|
|
};
|
|
|
|
|
2024-08-09 12:41:48 +00:00
|
|
|
vendorHash = "sha256-MQ1yoJjAWNx95Eafcarp/JNYq06xu9P05sF2QTW03NY=";
|
2022-09-27 17:51:37 +00:00
|
|
|
|
2024-01-27 08:16:58 +00:00
|
|
|
ldflags = [
|
|
|
|
"-w"
|
|
|
|
"-s"
|
|
|
|
];
|
|
|
|
|
2022-09-27 17:51:37 +00:00
|
|
|
# Some tests are failing because of wrong filename/path
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tool for situational awareness of cloud penetration tests";
|
|
|
|
homepage = "https://github.com/BishopFox/cloudfox";
|
2023-01-14 09:11:31 +00:00
|
|
|
changelog = "https://github.com/BishopFox/cloudfox/releases/tag/v${version}";
|
2022-09-27 17:51:37 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-04-17 06:44:45 +00:00
|
|
|
mainProgram = "cloudfox";
|
2022-09-27 17:51:37 +00:00
|
|
|
};
|
|
|
|
}
|