Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
880 B
Nix
42 lines
880 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchCrate,
|
|
pkg-config,
|
|
openssl,
|
|
capnproto,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "flowgger";
|
|
version = "0.3.2";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
hash = "sha256-eybahv1A/AIpAXGj6/md8k+b9fu9gSchU16fnAWZP2s=";
|
|
};
|
|
|
|
cargoHash = "sha256-50/rg1Bo8wEpD9UT1EWIKNLglZLS1FigoPtZudDaL4c=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
capnproto
|
|
];
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
checkFlags = [
|
|
# test failed
|
|
"--skip=flowgger::encoder::ltsv_encoder::test_ltsv_full_encode_multiple_sd"
|
|
"--skip=flowgger::encoder::ltsv_encoder::test_ltsv_full_encode_no_sd"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/awslabs/flowgger";
|
|
description = "Fast, simple and lightweight data collector written in Rust";
|
|
license = licenses.bsd2;
|
|
maintainers = [ ];
|
|
mainProgram = "flowgger";
|
|
};
|
|
}
|