nixpkgs/pkgs/development/tools/benthos/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
898 B
Nix
Raw Normal View History

2023-02-25 23:01:40 +01:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "benthos";
2024-04-28 20:14:54 +02:00
version = "4.27.0";
src = fetchFromGitHub {
owner = "benthosdev";
repo = "benthos";
2023-02-25 23:00:48 +01:00
rev = "refs/tags/v${version}";
2024-04-28 20:14:54 +02:00
hash = "sha256-Jswy4Ku/dxIEfC+jNjLXu/WW24enc4Qn0vrOHvNDVYQ=";
};
2024-03-08 09:08:08 +01:00
proxyVendor = true;
2024-04-28 20:14:54 +02:00
vendorHash = "sha256-6CVDhy29bIn19EgKbKDNTBWdy+i18g0oz/NxABcQ6QE=";
doCheck = false;
subPackages = [
"cmd/benthos"
];
2023-02-25 23:01:40 +01:00
ldflags = [
"-s"
"-w"
"-X github.com/benthosdev/benthos/v4/internal/cli.Version=${version}"
];
meta = with lib; {
description = "Fancy stream processing made operationally mundane";
mainProgram = "benthos";
homepage = "https://www.benthos.dev";
2023-02-25 23:00:48 +01:00
changelog = "https://github.com/benthosdev/benthos/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ sagikazarmark ];
};
}