{ lib, buildGoModule, fetchFromGitHub, }: buildGoModule rec { pname = "misconfig-mapper"; version = "1.3.0"; src = fetchFromGitHub { owner = "intigriti"; repo = "misconfig-mapper"; rev = "refs/tags/v${version}"; hash = "sha256-LrXx5OFpF+qsEhblBaXqsSGtw/Kp9FqjouCbMywpKg0="; }; 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"; }; }