mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-08 06:43:10 +00:00
39 lines
846 B
Nix
39 lines
846 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "benthos";
|
|
version = "4.17.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "benthosdev";
|
|
repo = "benthos";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-d7HxPfHCNTVTOB4I/9lbiqYAO2srLp7v8v97zXXLKBw=";
|
|
};
|
|
|
|
vendorHash = "sha256-1G1KxD+9aEnkaNsqPAVo+M+jslQcX4zZMQiKpN2PLRY=";
|
|
|
|
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";
|
|
changelog = "https://github.com/benthosdev/benthos/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ sagikazarmark ];
|
|
};
|
|
}
|