benthos: 4.27.0 -> 4.39.0

This commit is contained in:
wxt 2024-11-11 10:40:49 +08:00
parent 3518622af7
commit e0b7981969
No known key found for this signature in database
GPG Key ID: F62181757D8BF693

View File

@ -2,41 +2,44 @@
lib, lib,
buildGoModule, buildGoModule,
fetchFromGitHub, fetchFromGitHub,
nix-update-script,
}: }:
buildGoModule rec { buildGoModule rec {
pname = "benthos"; pname = "benthos";
version = "4.27.0"; version = "4.40.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "benthosdev"; owner = "redpanda-data";
repo = "benthos"; repo = "benthos";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-Jswy4Ku/dxIEfC+jNjLXu/WW24enc4Qn0vrOHvNDVYQ="; hash = "sha256-FABy2Fl32qS0zVQ+pDYUXQjTvAxn3eDCqvQn8kpZCjw=";
}; };
proxyVendor = true; proxyVendor = true;
vendorHash = "sha256-6CVDhy29bIn19EgKbKDNTBWdy+i18g0oz/NxABcQ6QE=";
doCheck = false;
subPackages = [ subPackages = [
"cmd/benthos" "cmd/benthos"
]; ];
vendorHash = "sha256-LCw15Q/kr5XCoBAOyGVOCcD/FcqUodlYLETNsRbOeG8=";
# doCheck = false;
ldflags = [ ldflags = [
"-s" "-s"
"-w" "-w"
"-X github.com/benthosdev/benthos/v4/internal/cli.Version=${version}" "-X github.com/redpanda-data/benthos/v4/internal/cli.Version=${version}"
]; ];
meta = with lib; { passthru.updateScript = nix-update-script { };
meta = {
description = "Fancy stream processing made operationally mundane"; description = "Fancy stream processing made operationally mundane";
mainProgram = "benthos"; mainProgram = "benthos";
homepage = "https://www.benthos.dev"; homepage = "https://www.benthos.dev";
changelog = "https://github.com/benthosdev/benthos/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/benthosdev/benthos/blob/v${version}/CHANGELOG.md";
license = licenses.mit; license = lib.licenses.mit;
maintainers = with maintainers; [ sagikazarmark ]; maintainers = with lib.maintainers; [ sagikazarmark ];
}; };
} }