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,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "benthos";
version = "4.27.0";
version = "4.40.0";
src = fetchFromGitHub {
owner = "benthosdev";
owner = "redpanda-data";
repo = "benthos";
rev = "refs/tags/v${version}";
hash = "sha256-Jswy4Ku/dxIEfC+jNjLXu/WW24enc4Qn0vrOHvNDVYQ=";
hash = "sha256-FABy2Fl32qS0zVQ+pDYUXQjTvAxn3eDCqvQn8kpZCjw=";
};
proxyVendor = true;
vendorHash = "sha256-6CVDhy29bIn19EgKbKDNTBWdy+i18g0oz/NxABcQ6QE=";
doCheck = false;
subPackages = [
"cmd/benthos"
];
vendorHash = "sha256-LCw15Q/kr5XCoBAOyGVOCcD/FcqUodlYLETNsRbOeG8=";
# doCheck = false;
ldflags = [
"-s"
"-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";
mainProgram = "benthos";
homepage = "https://www.benthos.dev";
changelog = "https://github.com/benthosdev/benthos/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ sagikazarmark ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sagikazarmark ];
};
}