{ lib, buildGoModule, fetchFromGitHub, nix-update-script, }: buildGoModule (finalAttrs: { pname = "benthos"; version = "4.77.0"; src = fetchFromGitHub { owner = "redpanda-data"; repo = "benthos"; tag = "v${finalAttrs.version}"; hash = "sha256-13F5VlsCKW33VgS5AFuNDfujFB2CwQarOMcMf4n282c="; }; proxyVendor = true; subPackages = [ "cmd/benthos" ]; vendorHash = "sha256-j3i1dEF8BSCrDJ5IRHKMT6f5BN5OcwIPhODQi2VDqRs="; # doCheck = false; ldflags = [ "-s" "-w" "-X github.com/redpanda-data/benthos/v4/internal/cli.Version=${finalAttrs.version}" ]; passthru.updateScript = nix-update-script { }; meta = { description = "Fancy stream processing made operationally mundane"; mainProgram = "benthos"; homepage = "https://www.benthos.dev"; changelog = "https://github.com/benthosdev/benthos/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sagikazarmark ]; }; })