fluent-bit: 1.9.3 -> 1.9.7

This commit is contained in:
Mario Rodas 2022-08-12 04:20:00 +00:00
parent a12fb1ae69
commit 8c2dff2b1c

View file

@ -1,19 +1,19 @@
{ lib, stdenv, fetchFromGitHub, cmake, flex, bison, systemd, openssl }:
{ lib, stdenv, fetchFromGitHub, cmake, flex, bison, systemd, openssl, libyaml }:
stdenv.mkDerivation rec {
pname = "fluent-bit";
version = "1.9.3";
version = "1.9.7";
src = fetchFromGitHub {
owner = "fluent";
repo = "fluent-bit";
rev = "v${version}";
sha256 = "sha256-CMkVIWaD4Zt6SJ/4PLGrFDhirqeLbXcVa+96wsAYN/k=";
sha256 = "sha256-mEQmlKPnCcom7/WogRw9HUvaO3NaOM4mFKBRKPWnx1E=";
};
nativeBuildInputs = [ cmake flex bison ];
buildInputs = [ openssl ]
buildInputs = [ openssl libyaml ]
++ lib.optionals stdenv.isLinux [ systemd ];
cmakeFlags = [ "-DFLB_METRICS=ON" "-DFLB_HTTP_SERVER=ON" ];