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

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

39 lines
846 B
Nix
Raw Normal View History

2023-02-25 22:01:40 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "benthos";
2023-03-18 23:23:40 +00:00
version = "4.13.0";
src = fetchFromGitHub {
owner = "benthosdev";
repo = "benthos";
2023-02-25 22:00:48 +00:00
rev = "refs/tags/v${version}";
2023-03-18 23:23:40 +00:00
hash = "sha256-i4WsoZg22HCaDq6c9bQI3oAVGzW57Y6DrULyki3Hh+U=";
};
2023-03-18 23:23:40 +00:00
vendorHash = "sha256-Q+oEYP/IpCDdwj/mLl5nVZ+t+mPYtRpNrAwta4viPMo=";
doCheck = false;
subPackages = [
"cmd/benthos"
];
2023-02-25 22:01:40 +00:00
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";
2023-02-25 22:00:48 +00:00
changelog = "https://github.com/benthosdev/benthos/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ sagikazarmark ];
};
}