mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
39 lines
846 B
Nix
39 lines
846 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "benthos";
|
|
version = "4.18.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "benthosdev";
|
|
repo = "benthos";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-wap11/D1PIvDt5Jk3CCyxWJNULMg62WFmiA09gc95dY=";
|
|
};
|
|
|
|
vendorHash = "sha256-pA8SBawcl8YFbUrDfWxzcrMK715xBTx1slvHoA/a9OM=";
|
|
|
|
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 ];
|
|
};
|
|
}
|