2022-07-23 14:16:22 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "benthos";
|
2022-10-04 09:09:17 +02:00
|
|
|
version = "4.9.0";
|
2022-07-23 14:16:22 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "benthosdev";
|
|
|
|
repo = "benthos";
|
|
|
|
rev = "v${version}";
|
2022-10-04 09:09:17 +02:00
|
|
|
sha256 = "sha256-gFtlu+Jg5XC9OlUArTCHPFN4iTF7kdyrcRcymRwSHsw=";
|
2022-07-23 14:16:22 +02:00
|
|
|
};
|
|
|
|
|
2022-10-04 09:09:17 +02:00
|
|
|
vendorSha256 = "sha256-sRhiTati1EsU+gBv29OkBAxqot+Bjp1BemYR1qbqN1w=";
|
2022-07-23 14:16:22 +02:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
subPackages = [
|
|
|
|
"cmd/benthos"
|
|
|
|
];
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X github.com/benthosdev/benthos/v4/internal/cli.Version=${version}" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Fancy stream processing made operationally mundane";
|
|
|
|
homepage = "https://www.benthos.dev";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ sagikazarmark ];
|
|
|
|
};
|
|
|
|
}
|