filebeat8: init at 8.16.1 (#364263)

This commit is contained in:
Gaétan Lepage
2025-01-06 09:00:06 +01:00
committed by GitHub
+43
View File
@@ -0,0 +1,43 @@
{
lib,
buildGoModule,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:
buildGoModule rec {
pname = "filebeat";
version = "8.16.1";
src = fetchFromGitHub {
owner = "elastic";
repo = "beats";
tag = "v${version}";
hash = "sha256-suzubh5aILiuRe8/wb52fnSujGNhGRXBxE8jv1WDzNc=";
};
vendorHash = "sha256-wspQImG/cxWglwojweuH+h5abTSrtcK6F8cpBeCDH/U=";
subPackages = [ "filebeat" ];
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "version" ];
doInstallCheck = true;
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Tails and ships log files";
homepage = "https://github.com/elastic/beats";
changelog = "https://www.elastic.co/guide/en/beats/libbeat/${version}/release-notes-${version}.html";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ srhb ];
mainProgram = "filebeat";
};
}