34 lines
808 B
Nix
34 lines
808 B
Nix
|
{
|
||
|
lib,
|
||
|
buildGoModule,
|
||
|
fetchFromGitHub,
|
||
|
}:
|
||
|
|
||
|
buildGoModule rec {
|
||
|
pname = "misconfig-mapper";
|
||
|
version = "1.1.1";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "intigriti";
|
||
|
repo = "misconfig-mapper";
|
||
|
rev = "refs/tags/v${version}";
|
||
|
hash = "sha256-D9VQthfkWC+qmqIZKIVuFuf9ZDNtyRmjh7tT/QGhQig=";
|
||
|
};
|
||
|
|
||
|
vendorHash = "sha256-lkVTgnWdk9eW6QtKScK8NckcXGzsHeIwjSoUx85AGU8=";
|
||
|
|
||
|
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";
|
||
|
};
|
||
|
}
|