25 lines
551 B
Nix
25 lines
551 B
Nix
{
|
|
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;
|
|
};
|
|
}
|