{ lib , buildGoModule , fetchFromGitHub }: buildGoModule rec { pname = "api-linter"; version = "1.65.0"; src = fetchFromGitHub { owner = "googleapis"; repo = "api-linter"; rev = "v${version}"; hash = "sha256-j5xvFg7C74sVjISZMWgURVHnJM6HBZtr90b0UXbGbdg="; }; vendorHash = "sha256-Bz7+4iVR2X36vt6wx3nIgWmVL+i9ncwdzYP9tBEpplk="; subPackages = [ "cmd/api-linter" ]; ldflags = [ "-s" "-w" ]; meta = with lib; { description = "Linter for APIs defined in protocol buffers"; homepage = "https://github.com/googleapis/api-linter/"; changelog = "https://github.com/googleapis/api-linter/releases/tag/${src.rev}"; license = licenses.asl20; maintainers = with maintainers; [ xrelkd ]; mainProgram = "api-linter"; }; }