diff --git a/pkgs/by-name/be/benthos/package.nix b/pkgs/by-name/be/benthos/package.nix index 240e2b1c422a..cd5e65953754 100644 --- a/pkgs/by-name/be/benthos/package.nix +++ b/pkgs/by-name/be/benthos/package.nix @@ -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 ]; }; }