{ lib, buildGoModule, fetchFromGitHub, }: buildGoModule rec { pname = "misconfig-mapper"; version = "1.10.0"; src = fetchFromGitHub { owner = "intigriti"; repo = "misconfig-mapper"; rev = "refs/tags/v${version}"; hash = "sha256-7rZwrnzoVkcXg3Z5lCMVEMyB3f5pS1t33lqogwY3I7w="; }; vendorHash = "sha256-ymXpuCc1Pv12kFcBf1STT2wiUXTyT4R1DHnDCeBWbSs="; 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"; }; }