nixpkgs/pkgs/tools/security/cloudfox/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
790 B
Nix
Raw Normal View History

2022-09-27 17:51:37 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "cloudfox";
2024-03-16 01:01:56 +00:00
version = "1.13.4";
2022-09-27 17:51:37 +00:00
src = fetchFromGitHub {
owner = "BishopFox";
repo = pname;
2023-01-14 09:11:31 +00:00
rev = "refs/tags/v${version}";
2024-03-16 01:01:56 +00:00
hash = "sha256-nN/gSvAwKjfZulqH4caGoJmzlY0ik8JrFReuvYWwZTE=";
2022-09-27 17:51:37 +00:00
};
2024-03-16 01:01:56 +00:00
vendorHash = "sha256-aRbGBEci3QT1mH+yaOUVynPysJ1za6CaoLGppJaa94c=";
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 ];
};
}