feat(haproxy): implement HAProxy log shipper with initial configuration and dependencies

This commit is contained in:
Richie committed 2026-10-16 21:13:06 -04:00
1 parent 438b4e09e6
commit 65d27702c8
7 files changed
+1143

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
{
lib,
pkg-config,
rustPlatform,
systemd,
}:
rustPlatform.buildRustPackage {
pname = "haproxy-log-shipper";
version = "0.1.0";
src = import ../rust-source.nix { inherit lib; };
cargoLock.lockFile = ../../Cargo.lock;
cargoBuildFlags = [ "-p haproxy-log-shipper" ];
cargoTestFlags = [ "-p haproxy-log-shipper" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ systemd ];
meta = {
description = "Ordered HAProxy journald ingestion client";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
};
}