mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
34 lines
808 B
Nix
34 lines
808 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "misconfig-mapper";
|
|
version = "1.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "intigriti";
|
|
repo = "misconfig-mapper";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-pQAv4waEocsSDGSOJlK7s5g9rkQGVJRGOpcB3HvG2yo=";
|
|
};
|
|
|
|
vendorHash = "sha256-T4SDL1Pq3mfN6Qd13Safof1EgCqQVB2+K1qJHm+2ilc=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Tool to uncover security misconfigurations on popular third-party services";
|
|
homepage = "https://github.com/intigriti/misconfig-mapper";
|
|
changelog = "https://github.com/intigriti/misconfig-mapper/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
mainProgram = "misconfig-mapper";
|
|
};
|
|
}
|