2023-03-04 12:14:45 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "benthos";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "4.15.0";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "benthosdev";
|
|
|
|
repo = "benthos";
|
2023-03-04 12:14:45 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-RqfTDE4dcVUegiaHsJMm9z9WV2dxFpgT/5LlM5105Oc=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
vendorHash = "sha256-jfRmzCrw0qZJqt9tHkr/FmLWEAc911Z1hmk+nc6Lyb4=";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
subPackages = [
|
|
|
|
"cmd/benthos"
|
|
|
|
];
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
"-X github.com/benthosdev/benthos/v4/internal/cli.Version=${version}"
|
|
|
|
];
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Fancy stream processing made operationally mundane";
|
|
|
|
homepage = "https://www.benthos.dev";
|
2023-03-04 12:14:45 +00:00
|
|
|
changelog = "https://github.com/benthosdev/benthos/blob/v${version}/CHANGELOG.md";
|
2022-08-12 12:06:08 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ sagikazarmark ];
|
|
|
|
};
|
|
|
|
}
|