mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 22:06:00 +03:00
0dccdd6189
Release notes: https://fluentbit.io/announcements/v1.4.1/
31 lines
724 B
Nix
31 lines
724 B
Nix
{ stdenv, fetchFromGitHub, cmake, flex, bison }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fluent-bit";
|
|
version = "1.4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fluent";
|
|
repo = "fluent-bit";
|
|
rev = "v${version}";
|
|
sha256 = "1xfbghaylzsh48ag4aw77nmzm1cds4nx53m4s1fiy0r31sm8vqwl";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake flex bison ];
|
|
|
|
postPatch = ''
|
|
substituteInPlace src/CMakeLists.txt \
|
|
--replace /lib/systemd $out/lib/systemd
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Log forwarder and processor, part of Fluentd ecosystem";
|
|
homepage = "https://fluentbit.io";
|
|
maintainers = with maintainers; [
|
|
samrose
|
|
];
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|