1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "cloudfox";
9 version = "1.15.0";
10
11 src = fetchFromGitHub {
12 owner = "BishopFox";
13 repo = "cloudfox";
14 tag = "v${version}";
15 hash = "sha256-YLZSrBAEf0SXECAdnF2CQAlEd15DJ1Iv+x+RebM5tw4=";
16 };
17
18 vendorHash = "sha256-MQ1yoJjAWNx95Eafcarp/JNYq06xu9P05sF2QTW03NY=";
19
20 ldflags = [
21 "-w"
22 "-s"
23 ];
24
25 # Some tests are failing because of wrong filename/path
26 doCheck = false;
27
28 meta = {
29 description = "Tool for situational awareness of cloud penetration tests";
30 homepage = "https://github.com/BishopFox/cloudfox";
31 changelog = "https://github.com/BishopFox/cloudfox/releases/tag/v${version}";
32 license = lib.licenses.mit;
33 maintainers = with lib.maintainers; [ fab ];
34 mainProgram = "cloudfox";
35 };
36}